MyBB Community Forums

Full Version: Upgrading problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Just upgraded my forum and I get this error

Parse error: syntax error, unexpected T_STRING in /homepages/33/d282805942/htdocs/wsb5318051501/forum/inc/class_error.php on line 23

Please help.
http://www.dman-productions.net/forum/index.php
Reupload inc/class_error.php.
Thanks that got my to the loading page. Now it's saying this from default class_error.php file.

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /homepages/33/d282805942/htdocs/wsb5318051501/forum/inc/class_error.php on line 51

Is your host running PHP 5.1+??
err I'm actually not too sure. I've never had any upgrading problems and now this pops up.
MyBB 1.6 is only compatible with PHP 5.1+ where as 1.4 could use 4.4.9 or higher I believe, so if your host has an old version of PHP it'd only cause an issue now. Check what version they've got.
Yup it was running an old version, however now I get this huge error on my index page.

http://dman-productions.net/forum/index.php

Quote:The following warnings occurred:
Warning [2] mysql_result() [function.mysql-result]: Unable to jump to row 0 on MySQL result index 63 - Line: 439 - File: inc/db_mysql.php PHP 5.2.13 (Linux)
File Line Function
[PHP] errorHandler->error
/inc/db_mysql.php 439 mysql_result
/inc/plugins/ads.php 88 DB_MySQL->fetch_field
[PHP] ads_globals
/inc/class_plugins.php 101 call_user_func_array
/global.php 95 pluginSystem->run_hooks
/index.php 18 require_once
Warning [2] mysql_result() [function.mysql-result]: Unable to jump to row 0 on MySQL result index 65 - Line: 439 - File: inc/db_mysql.php PHP 5.2.13 (Linux)
File Line Function
[PHP] errorHandler->error
/inc/db_mysql.php 439 mysql_result
/inc/plugins/ads.php 96 DB_MySQL->fetch_field
[PHP] ads_globals
/inc/class_plugins.php 101 call_user_func_array
/global.php 95 pluginSystem->run_hooks
/index.php 18 require_once
Warning [2] mysql_result() [function.mysql-result]: Unable to jump to row 0 on MySQL result index 65 - Line: 439 - File: inc/db_mysql.php PHP 5.2.13 (Linux)
File Line Function
[PHP] errorHandler->error
/inc/db_mysql.php 439 mysql_result
/inc/plugins/ads.php 97 DB_MySQL->fetch_field
[PHP] ads_globals
/inc/class_plugins.php 101 call_user_func_array
/global.php 95 pluginSystem->run_hooks
/index.php 18 require_once
Warning [2] mysql_result() [function.mysql-result]: Unable to jump to row 0 on MySQL result index 65 - Line: 439 - File: inc/db_mysql.php PHP 5.2.13 (Linux)
File Line Function
[PHP] errorHandler->error
/inc/db_mysql.php 439 mysql_result
/inc/plugins/ads.php 98 DB_MySQL->fetch_field
[PHP] ads_globals
/inc/class_plugins.php 101 call_user_func_array
/global.php 95 pluginSystem->run_hooks
/index.php 18 require_once
Warning [2] mysql_result() [function.mysql-result]: Unable to jump to row 0 on MySQL result index 65 - Line: 439 - File: inc/db_mysql.php PHP 5.2.13 (Linux)
File Line Function
[PHP] errorHandler->error
/inc/db_mysql.php 439 mysql_result
/inc/plugins/ads.php 99 DB_MySQL->fetch_field
[PHP] ads_globals
/inc/class_plugins.php 101 call_user_func_array
/global.php 95 pluginSystem->run_hooks
/index.php 18 require_once
Warning [2] mysql_result() [function.mysql-result]: Unable to jump to row 0 on MySQL result index 65 - Line: 439 - File: inc/db_mysql.php PHP 5.2.13 (Linux)
File Line Function
[PHP] errorHandler->error
/inc/db_mysql.php 439 mysql_result
/inc/plugins/ads.php 100 DB_MySQL->fetch_field
[PHP] ads_globals
/inc/class_plugins.php 101 call_user_func_array
/global.php 95 pluginSystem->run_hooks
/index.php 18 require_once
It's the ads_globals plugin, disable it. Plugins should already have been deactivated for the upgrade though.
Thank you so much!