Menu

#3 php error PGRFileManager.php

open-fixed
nobody
None
5
2010-01-20
2010-01-20
adrian12
No

Parse error: syntax error, unexpected T_IS_EQUAL, expecting '(' in domain/SUBFOLDER/ckeditor/plugins/pgrfilemanager/PGRFileManager.php on line 28

what can i do?? file is original and not modified.

thanks a lot

Discussion

  • adrian12

    adrian12 - 2010-01-20
    • status: open --> wont-fix-fixed
     
  • adrian12

    adrian12 - 2010-01-20

    php 5 on server

     
  • Grzegorz Żydek

    Grzegorz Żydek - 2010-01-20

    Hi,
    Try change this line:
    if (PGRFileManagerConfig::$allowedExtensions == "") $PGRUploaderExtension = "*.*";
    to:
    if ((PGRFileManagerConfig::$allowedExtensions) == "") $PGRUploaderExtension = "*.*";

     
  • Grzegorz Żydek

    Grzegorz Żydek - 2010-01-20
    • status: wont-fix-fixed --> open-fixed
     
  • adrian12

    adrian12 - 2010-01-20

    hi
    thanks for your answer...
    i changed but didn't try with php 4 on server....

    but i've an other problem...
    with pgrfilemanager i can select image files on my hard disk and click on the upload button, the loading image appears and then disappears.
    but no file is on the server but 777 is correct. i manually uploaded a file and i can copy it with pgrfilemanager and i can make new dictionaries...

    but why i can't upload files?

    thank you very very much for your help :)

    adrian

    PS: great plugin i like it and are happy to use it

     
  • Licko Lubomir

    Licko Lubomir - 2010-01-23

    Hi,
    I had the some error

    Parse error: syntax error, unexpected T_IS_EQUAL, expecting '(' in /www/doc/domain/www/ckeditor/plugins/pgrfilemanager/PGRFileManager.php on line 28

    I chage the line in PGRFileManager.php file as grzegorzzydek wrote and I have error

    Parse error: syntax error, unexpected ')', expecting '(' in /www/doc/domain/www/ckeditor/plugins/pgrfilemanager/PGRFileManager.php on line 28

    Can you help me someone please whats wrong? Thanks.

     
  • Chris McHuema

    Chris McHuema - 2010-02-17

    i exactly have the same problem as llicko.

    after changing the line, there is the new parse error.

    help would be awesome!

     
  • Apprenti

    Apprenti - 2010-02-18

    I have the same problem.
    It is a shame because I would really love to use this tool.
    Could you please help me to solve this problem.
    When I click on "explore the server" I have

    Parse error: syntax error, unexpected T_IS_EQUAL, expecting '(' in
    /www/doc/domain/www/ckeditor/plugins/pgrfilemanager/PGRFileManager.php on
    line 28

    I tried grzegorzzydek's method and obtained also

    Parse error: syntax error, unexpected ')', expecting '(' in
    /www/doc/domain/www/ckeditor/plugins/pgrfilemanager/PGRFileManager.php on
    line 28

    Thank you.

     

Log in to post a comment.

Monday.com Logo