View Full Version : News.php
snow viller
06-29-2013, 12:41 AM
Why I try to change the News module to .php I get the error.
Fatal error: Call to undefined method stdClass::parse() in /home/zxprodut/public_html/Forums/modules/news.php on line 453
Any help to fix this would be appreciated
Forums: http://zxproductions.org/Forums/cmps_index.php
ForceHSS
06-29-2013, 04:02 AM
Fix what you don't give a link to your forums or the php file. Sorry but my mind reading is a bit off today
snow viller
06-29-2013, 05:44 AM
Fix what you don't give a link to your forums or the php file. Sorry but my mind reading is a bit off today
Sorry, new to these forums. I'll update right now :D
ForceHSS
06-29-2013, 02:52 PM
To temporarily disable the plugin system, edit includes/config.php and add this line right under <?php
define('DISABLE_HOOKS', true);
snow viller
06-29-2013, 11:16 PM
To temporarily disable the plugin system, edit includes/config.php and add this line right under <?php
define('DISABLE_HOOKS', true);then try installing again if already installed test
try this new file if you want
Now I get the error
Parse error: syntax error, unexpected T_IF in /home/zxprodut/public_html/Forums/modules/news.php on line 1498
ForceHSS
06-30-2013, 03:12 PM
Now I get the error
Fatal error: Call to undefined method stdClass::parse() in /home/zxprodut/public_html/Forums/modules/news.php on line 453
try this (http://www.meandeviation.com/tutorials/learnphp/php-syntax-check/v4/syntax-check.php) I am showing no errors with your file
snow viller
06-30-2013, 03:35 PM
try this (http://www.meandeviation.com/tutorials/learnphp/php-syntax-check/v4/syntax-check.php) I am showing no errors with your file
PHP 4 syntax check: news .php is OK :-) checked both the original and the one you posted.
ForceHSS
06-30-2013, 05:27 PM
As it is not this PHP file causing the problem you need to check your forums for PHP errors
snow viller
07-02-2013, 09:58 PM
Error changed to
Parse error: syntax error, unexpected T_IF in /home/zxprodut/public_html/Forums/modules/news.php on line 464
I'm using the news.php file you included still and nothing is fixed or changed.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.