lesser-equity

Magazine
Go Back   Computer Juice > Computer Software > Web Design, Hosting & SEO


Register


Reply
 
Thread Tools
  #1  
Old 14th Mar 2008, 12:03
Member Group
 
Hello!

can someone please help!

Im getting some very annoying error messages now that i have uploaded my site to hosting server. The site worked fine on my Apache localhost.

I get this error message
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' on line 8

Im using the PEAR library and the hosting provider has given me the path to DB.php but THERE IS ALWAYS A BUT.

the line the error is reporting to has.... public $db.....

If anyone can help i would be very gratefull i can provide full code just not sure if people like code to be written on posts so much

Thanks all im going mad by the way hosting account uses php4 and php5
  #2  
Old 15th Mar 2008, 08:58
Member Group
 
i got this sorted using a htaccess file SetEnv DEFAULT_PHP_VERSION 5
i already did this but it was the wrong one for the hosting account.
Reply

Register
Thread Tools




Arabic Bulgarian Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Finnish French German Greek Hebrew Hungarian Italian Japanese Korean Latvian Lithuanian Norwegian Polish Portuguese Romanian Russian Serbian Slovak Spanish Swedish Thai Turkish Ukrainian

Copyright ©2006 - 2009 Computer Juice.

Powered by vBulletin® Copyright ©2000 - 2009 Jelsoft Enterprises Ltd. SEO by vBSEO ©2009, Crawlability, Inc.