problems with deployement

Last post 02-16-2010, 10:47 PM by siwelis. 6 replies.
Sort Posts: Previous Next
  •  07-02-2009, 3:14 PM 53700

    problems with deployement

    Hello CuteSoft Team,
     
    I try before buying your software but already have problem with the deployement procedure.
     
    1) So i copy/paste the folder phpuploader on my website ,  http://www.intranet-hanciaux.be/HollidaysPictures/phpuploader/ 
     
    2) i copy/paste your code on my php page http://www.intranet-hanciaux.be/HollidaysPictures/insertPicAlbum.php  with correction (uploader->Render();    u forgot the $)
     
    1. //Step 1: Register Uploader component to your page   
    2. <?php require_once "phpuploader/include_phpuploader.php" ?>   
    3. <html>   
    4. <body>   
    5.         <form id="form1" method="POST">   
    6.             <?php   
    7.                 //Step 2: Create Uploader object.   
    8.                 $uploader=new PhpUploader();   
    9.                 //Step 3: Set a unique name to Uploader   
    10.                 $uploader->Name="myuploader";    
    11.                 //Step 4: Render Uploader   
    12.                 uploader->Render();   
    13.             ?>   
    14.         </form>   
    15. </body>   
    16. </html>  
    3) When i call the page i have this error :
    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/intranet/www/HollidaysPictures/phpuploader/include_phpuploader.php on line 12
    4) on line 12 i have this :
    public $MaxSizeKB=-1;
     
    5) i changed in :
    public $MaxSizeKB=2000;
    but same error
     
    Thanks for helping me, if it works for sure i wil buy your solution ...
  •  07-02-2009, 8:07 PM 53704 in reply to 53700

    Re: problems with deployement

    What is the version of PHP that you are running?
     
    If you are running PHP 5.x, please set it to version 5.x.

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  07-02-2009, 9:11 PM 53706 in reply to 53700

    Re: problems with deployement

    Hi,
     
    Your PHP do not support keyword 'public' , the php uploader only support PHP 5
     
    Regards,
    Terry
     
  •  07-03-2009, 1:38 PM 53715 in reply to 53706

    Re: problems with deployement

    Hello and thank you for your answer.
     
    You right i run the version 4.4.8_pre20070816-pl1-gentoo , will ask to mt admin to upgrade.
     
    Thanks again, Dave.
  •  02-16-2010, 2:12 PM 58735 in reply to 53700

    Re: problems with deployement

    I was trying the demo of this project, yet am having the same problem as this fellow.
     
    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /phpuploader/include_phpuploader.php on line 198  
     
    I've changed  nothing except what was mentioned in the Deployment section.
     
    I see this question relating to basic installation was asked last year and received no fix. Any hope?
     
    Running PHP 5.2.12
    Filed under:
  •  02-16-2010, 3:15 PM 58738 in reply to 58735

    Re: problems with deployement

    siwelis:
    I was trying the demo of this project, yet am having the same problem as this fellow.
     
    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /phpuploader/include_phpuploader.php on line 198  
     
    I've changed  nothing except what was mentioned in the Deployment section.
     
    I see this question relating to basic installation was asked last year and received no fix. Any hope?
     
    Running PHP 5.2.12
     
    Are you sure you are running version PHP version 5.x?
     
    Can you run phpinfo() on your server and find out more information about the version of PHP your server is running?
     
    <?php phpinfo() ?>
     
    Keep me posted

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  02-16-2010, 10:47 PM 58748 in reply to 58738

    Re: problems with deployement

    I forgot I uploaded it to a test server- different than the main server. Sorry about that.

    PHP Version 4.4.9

    strikes again!
     
    Luckily, the server is actually running php 5 too- It just requires I add "5" to .php files or edit the htaccess... Went w/ the htaccess to read all php files as php 5.  Will test again. Thank you!
     
     
View as RSS news feed in XML