| |||||||
| Register | Projects | FAQ | Members List | Mark Forums Read |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
|
Hi, My web host recently switched to PHP5 and my site www.hostoholic.com is now broken. The error, i am getting is; Fatal error: Cannot redeclare clsUsers::$date_format in /path/to/lib/users.class.php on line 58 How can i possible fix this problem? Any php5 patch for v3.x of IndexU? Thank you for any help.
__________________ Thru' the Unknown, We Shall find the New ! DotGlum : My Online Identity DearSunShine :: A Beautiful Mind | MyBrandInc : Bitten By the StartUp Bug !?! InstallBot : Script Installation service ! | HostoHolic : WebHosting Directory ! Last edited by ideavirus; 11-20-2007 at 11:44 PM. |
| |||
|
Isn't there a patch for 3.x version to support php 5.x? Upgrading would put more demand on me to custom design the entire site agian which is why I am holding back.
__________________ Thru' the Unknown, We Shall find the New ! DotGlum : My Online Identity DearSunShine :: A Beautiful Mind | MyBrandInc : Bitten By the StartUp Bug !?! InstallBot : Script Installation service ! | HostoHolic : WebHosting Directory ! |
| |||
|
Looks like I found a fix for the issue... in this thread Fatal error Could someone confirm if doing this... Code: Content visible to License Owner only. Thanks
__________________ Thru' the Unknown, We Shall find the New ! DotGlum : My Online Identity DearSunShine :: A Beautiful Mind | MyBrandInc : Bitten By the StartUp Bug !?! InstallBot : Script Installation service ! | HostoHolic : WebHosting Directory ! |
| ||||
|
No there is no patch, because version 3 was unsupported by the time php5 came around. Old versions aren't supported and this is one reason why. There would need to be patches for 10 different releases just to support different software such as PHP and mysql and apache. Try commenting those lines, if it doesn't work uncomment them. Would only take a minute to give it a try.
__________________ |
| |||
|
Hi, I tried the above commenting of lines. But did not work. The problem still persists. Thank you for any help. Line 58 for me is - var $date_format; Line 148 is - $result = $this->db_connect->Execute($query); Line 149 - is a blank line I commented out these 3 lines, but no success. Thanks for any help. Cheers
__________________ Thru' the Unknown, We Shall find the New ! DotGlum : My Online Identity DearSunShine :: A Beautiful Mind | MyBrandInc : Bitten By the StartUp Bug !?! InstallBot : Script Installation service ! | HostoHolic : WebHosting Directory ! |
| |||
|
Hi, The problem seems to be partially fixed now. However, when the site loads on certain pages including the home page, I am gettign the following error... Code: Content visible to License Owner only. Thanks for any help Cheers
__________________ Thru' the Unknown, We Shall find the New ! DotGlum : My Online Identity DearSunShine :: A Beautiful Mind | MyBrandInc : Bitten By the StartUp Bug !?! InstallBot : Script Installation service ! | HostoHolic : WebHosting Directory ! |
| |||
|
I had to comment out line # 154, #156 and #160 also in adodb-session.php to overcome other fatal errors. Now by commenting out these lines in 3 files... does it affect any of teh functionality of the site?? Thanks for any help or inputs. Cheers
__________________ Thru' the Unknown, We Shall find the New ! DotGlum : My Online Identity DearSunShine :: A Beautiful Mind | MyBrandInc : Bitten By the StartUp Bug !?! InstallBot : Script Installation service ! | HostoHolic : WebHosting Directory ! |
| |||
|
After commenting on the line 58, "users.class.php" and the lines 148 and 149, "links.class.php" I see the error below. Anyone know what can be? Parse error: syntax error, unexpected ';', expecting T_STRING or T_VARIABLE or '$' in /home/itredco/public_html/lib/link.class.php on line 1136 |
| |||
|
$date_format is declared twice in these files: /lib/users.class.php /resources/lib/link.class.php comment out one of the declaration and the site will show up. HOWEVER add.php and modify.php have a bug that does not update the site title. looking at the code, i must admit, i have seen better programming. anyhow, does someone debug add.php/modify.php for php 5? |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Fatal errors!! | SSB | v5.x | 3 | 08-19-2007 08:04 PM |
| Fatal PHP Errors after Server Migration | sweepsmaster | v5.x | 7 | 11-22-2005 07:07 PM |
| :( fatal errors on search.php page | life | v5.x | 1 | 09-29-2005 01:52 AM |
| Fatal Errors please help | searchservers | v5.x | 5 | 09-21-2005 12:10 AM |
| Numerous Fatal Errors when I moved servers | Rewdog | v5.x | 2 | 03-29-2004 09:06 PM |