vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   News.php (https://vborg.vbsupport.ru/showthread.php?t=299626)

snow viller 06-29-2013 12:41 AM

News.php
 
1 Attachment(s)
Why I try to change the News module to .php I get the error.

Code:

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

Quote:

Originally Posted by ForceHSS (Post 2431138)
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

PHP Code:

define('DISABLE_HOOKS'true); 


snow viller 06-29-2013 11:16 PM

Quote:

Originally Posted by ForceHSS (Post 2431189)
To temporarily disable the plugin system, edit includes/config.php and add this line right under <?php

PHP Code:

define('DISABLE_HOOKS'true); 

then try installing again if already installed test

try this new file if you want

Now I get the error
Code:

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

Quote:

Originally Posted by snow viller (Post 2431267)
Now I get the error
Code:

Fatal error: Call to undefined method stdClass::parse() in /home/zxprodut/public_html/Forums/modules/news.php on line 453

try this I am showing no errors with your file

snow viller 06-30-2013 03:35 PM

Quote:

Originally Posted by ForceHSS (Post 2431347)
try this 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
Code:

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.


All times are GMT. The time now is 01:25 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01889 seconds
  • Memory Usage 1,731KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (2)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete