FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » custom avatar error
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic
custom avatar error [message #166155] Mon, 03 October 2011 11:01 Go to next message
littleking is currently offline  littleking   United States
Messages: 187
Registered: January 2007
Karma: 2
Senior Member
Fatal error: Call to undefined function validate_custom_fields() in /homepages/35/d196178364/htdocs/huntohio/theme/HO_Green/regi ster.php on line 2007
Re: custom avatar error [message #166156 is a reply to message #166155] Mon, 03 October 2011 16:48 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
So, what version of FUDforum must you use and what actions should you take to see this error?
Re: custom avatar error [message #166159 is a reply to message #166156] Tue, 04 October 2011 15:48 Go to previous messageGo to next message
littleking is currently offline  littleking   United States
Messages: 187
Registered: January 2007
Karma: 2
Senior Member
Powered by: FUDforum 3.0.2.

upload custom avatar
Re: custom avatar error [message #166160 is a reply to message #166159] Tue, 04 October 2011 16:34 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
I'm pretty sure it's fixed in 3.0.3. Can you upgrade?
Re: custom avatar error [message #166162 is a reply to message #166160] Tue, 04 October 2011 22:01 Go to previous messageGo to next message
littleking is currently offline  littleking   United States
Messages: 187
Registered: January 2007
Karma: 2
Senior Member
tried:
Disabling the forum.
Forum is now disabled.

Beginning the file upgrade process.
Beginning to decompress the archive.

Warning: gzuncompress() [function.gzuncompress]: data error in /homepages/35/d196178364/htdocs/huntohio/upgrade.php on line 188

Warning: strpos() [function.strpos]: Offset not contained in string in /homepages/35/d196178364/htdocs/huntohio/upgrade.php on line 224

Notice: Undefined offset: 1 in /homepages/35/d196178364/htdocs/huntohio/upgrade.php on line 228
Finished decompressing the archive.
File Upgrade Complete.
All changed files were backed up to: "/kunden/homepages/35/d196178364/htdocs/huntfud/errors/.backup/".

Beginning SQL Upgrades.

Fatal error: Call to undefined function validate_db_version() in /homepages/35/d196178364/htdocs/huntohio/upgrade.php on line 808
Re: custom avatar error [message #166163 is a reply to message #166162] Tue, 04 October 2011 22:07 Go to previous messageGo to next message
littleking is currently offline  littleking   United States
Messages: 187
Registered: January 2007
Karma: 2
Senior Member
of course, now my forum is offline Smile

Parse error: syntax error, unexpected T_NEW in /homepages/35/d196178364/htdocs/huntfud/include/core.inc on line 215
Re: custom avatar error [message #166164 is a reply to message #166163] Wed, 05 October 2011 03:48 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
Looks like the archive file is damaged. Download it again; and remember it is a binary file in case you FTP it.

And yes, of course, you shouldn't test it on your production forum. Rolling Eyes
Re: custom avatar error [message #166165 is a reply to message #166164] Wed, 05 October 2011 10:55 Go to previous messageGo to next message
littleking is currently offline  littleking   United States
Messages: 187
Registered: January 2007
Karma: 2
Senior Member
Parse error: syntax error, unexpected T_NEW in /homepages/35/d196178364/htdocs/huntohio/upgrade.php on line 113


when i try to run it, but im guessing things are already broken... waiting on restore
Re: custom avatar error [message #166166 is a reply to message #166165] Wed, 05 October 2011 11:02 Go to previous messageGo to next message
littleking is currently offline  littleking   United States
Messages: 187
Registered: January 2007
Karma: 2
Senior Member
odd, my htaccess disappeared... causing all the problems
Re: custom avatar error [message #166167 is a reply to message #166166] Wed, 05 October 2011 11:06 Go to previous messageGo to next message
littleking is currently offline  littleking   United States
Messages: 187
Registered: January 2007
Karma: 2
Senior Member
ok... upgrade completed, but errored with:

Fatal error: Uncaught exception 'Exception' with message '(/homepages/35/d196178364/htdocs/huntohio/index.php:116<br /> /homepages/35/d196178364/htdocs/huntohio/index.php:219<br /> /homepages/35/d196178364/htdocs/huntohio/theme/HO_Green/index.php:172<br /> /homepages/35/d196178364/htdocs/huntohio/index.php:1335<br /> ) 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE sc.cache_age>1317823547' at line 1<br /> Query: SELECT sc.*,m.subject AS last_msg_subject, u.alias AS last_user_alias FROM fud26_stats_cache sc INNER JOIN fud26_users u ON u.id=sc.last_user_id LEFT JOIN fud26_msg m ON m.id= WHERE sc.cache_age&gt;1317823547<br /> Database version: 5.0.91-log<br /> ' in /homepages/35/d196178364/htdocs/huntfud/include/core.inc:256 Stack trace: #0 /homepages/35/d196178364/htdocs/huntohio/index.php(116): fud_sql_error_handler('SELECT sc.*,m.s...', 'You have an err...', 1064, '5.0.91-log') #1 /homepages/35/d196178364/htdocs/huntohio/index.php(219): q('SELECT sc.*,m.s...') #2 /homepages/35/d196178364/htdocs/huntohio/theme/HO_Green/index.php(172): db_sab('SELECT sc.*,m.s...') #3 /homepages/35/d196178364/htdocs/huntohio/index.php(1335): require('/homepages/35/d...') #4 {main} thrown in /homepages/35/d196178364/htdocs/huntfud/include/core.inc on line 256

[Updated on: Wed, 05 October 2011 11:19]

Report message to a moderator

Re: custom avatar error [message #166168 is a reply to message #166167] Wed, 05 October 2011 11:19 Go to previous messageGo to next message
littleking is currently offline  littleking   United States
Messages: 187
Registered: January 2007
Karma: 2
Senior Member
if i try to re-run the upgrade i get:

Unable to load database driver: .


otherwise i get:


Fatal error: SQL error has occurred, please contact the administrator of the forum and have them review the forum's SQL query log in /homepages/35/d196178364/htdocs/FUDforum/include/core.inc on line 260
Re: custom avatar error [message #166171 is a reply to message #166168] Thu, 06 October 2011 06:49 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
littleking wrote:
If I try to re-run the upgrade I get:
Unable to load database driver: .


Corrupted GLOBALS.php file maybe? No value for $DBHOST_DBTYPE??
Re: custom avatar error [message #166178 is a reply to message #166171] Thu, 06 October 2011 22:51 Go to previous message
littleking is currently offline  littleking   United States
Messages: 187
Registered: January 2007
Karma: 2
Senior Member
locking, starting thread thats easy to follow
  Switch to threaded view of this topic Create a new topic
Previous Topic: Alias automatically changing
Next Topic: errors upgrading
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 03:01:47 GMT 2024

Total time taken to generate the page: 0.03517 seconds