News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Problem after upgrade

Started by cldickerson, December 09, 2009, 04:19:45 PM

Previous topic - Next topic

cldickerson

I know this is something simple and that it has to do with UTF8 but don't know what to do. I am receiving errors such as:

PHP Notice:  Undefined index:  utf8 in /public_html/smf/Sources/Subs-Post.php on line 1264
PHP Notice:  Undefined index:  server in /public_html/smf/Sources/Subs-Post.php on line 1284

Can anyone help?

cldickerson

Here's an example of more errors. All occur in Subs-post:

PHP Notice:  Undefined index:  server in /public_html/smf/Sources/Subs-Post.php on line 631
PHP Notice:  Undefined index:  utf8 in /public_html/smf/Sources/Subs-Post.php on line 1262
PHP Notice:  Undefined index:  utf8 in /public_html/smf/Sources/Subs-Post.php on line 1264
PHP Notice:  Undefined index:  server in /public_html/smf/Sources/Subs-Post.php on line 1284
PHP Warning:  preg_replace() [<a href='function.preg-replace'>function.preg-replace</a>]: Compilation failed: invalid UTF-8 string at offset 8 in /public_html/smf/Sources/Subs-Post.php on line 1284

C'mon guys. There's got to be something wrong with Subs-post...

Nick Whetstone

Do you have any Mods installed?
The artist formerly known as (Ha)²

Former Support Specialist

Please do not solicit support via PM. Here's why!

cldickerson

I had the Visual Warning mod installed before the upgrade. Would that have caused the problem. What do I need to do to correct it?

Tks

tyty1234

Can you please attach your Subs-Post.php file, and tell us what version of PHP you are running on your site?
My Activity: Inactive
My Links: tyty1234's SMF Site | SMF Package Parser | SMF Helper | My Mods [5]
Subscribe to my SMF blog for updates
PMs for support will not be accepted, unless requested otherwise.

H

You can find the PHP version in Admin area > Support and Credits
-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

cldickerson

Hello,

Sorry it took me so long to get back to you. I've been out of town and didn't have a chance to respond. I am running PHP: 5.2.11 on a Hostgator server. I have attached my Subs-post.php file and my error log from the past couple of days.

Thank you!



BUroKHUli

hi, i don't mean to troll but i also got problems with my upgrade. some text are not showing on the drop down menus and when you register, the okay button is weird. :)

tyty1234

@cldickerson:
Everything looks like they're in order there. It might be the Load.php file. Can you please attach that file as well?
My Activity: Inactive
My Links: tyty1234's SMF Site | SMF Package Parser | SMF Helper | My Mods [5]
Subscribe to my SMF blog for updates
PMs for support will not be accepted, unless requested otherwise.

cldickerson

Yes, thank you. It is attached.

Claude

searchgr


cldickerson

Hi,

Nope, still waiting for a reply. The problem is still there...  :'(

searchgr

any other mods installed? My forum is charset=ISO-8859-1".

cldickerson

I had the "Visual Warning" mod installed before the upgrade but I think it was overwritten.

searchgr

It's overwritten. You don't have any mods now? Is your forum a utf-8 encoded? These errors are appearing almost every day at the same time (13:00). I try to find what does this means....

cldickerson

I've installed no mods since the upgrade. I never noticed the times the errors were occurring but it appears they are all occurring at midnight 00.00.01 through about 00.10.00. Strange...

searchgr

Is it possible to be a server related problem? Maybe a scheduled task from a server creates the problem?

cldickerson

Hmmm... The problem could be caused by one of the 'scheduled tasks' setup in the 'Maintenance' menu but I don't know which.

searchgr

#18
I run those tasks one by one and no error has been logged. Also i have changed the time of the tasks but the time of the error remains the same.

Do you remeber something that you might changed/edit after the upgrade? I wonder why noone else has this problem. This error appears in the errors log file in the public_html directory. Maybe more users have the same problem but they haven't noticed it.

cldickerson

Hopefully one of the gurus will point us in the right direction. I have no idea what could be causing the problem...

Advertisement: