Current location: Hot Scripts Forums » Programming Languages » PHP » Unusual error in script after PHP upgraded, help!


Unusual error in script after PHP upgraded, help!

Reply
  #1 (permalink)  
Old 04-20-04, 07:19 PM
santoalt santoalt is offline
New Member
 
Join Date: Apr 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Unusual error in script after PHP upgraded, help!

Hello, yesterday we started receiving this error in our content management system (CMS) script everytime we tried to add/edit (most) of our articles. It seemed to follow no pattern.. like a few of the articles we could add or edit, but then the majority we could not. The problem has persisted after the server administrator double and triple checked all the tables and database, while the programmer went through and double checked the code (which was never modified in the first place).

My only guess as to why the error is there is that the PHP was upgraded over the week and that is somehow conflicting with the database.. but then again I really have no clue as my programming background is minimal at best. Any help, ideas, or suggestions would be greatly appreciated as I'm completely dumbfounded.

The exact error is this:

Error 10031: Unable to add to the database. Please contact an administrator.

The script was custom made for this site specifically but is also used on a few other (much larger) sites... and has been working fine since it was first installed. This problem is brand new and seems to have come out of nowhere. HELP!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 04-20-04, 10:46 PM
Skeleton Man Skeleton Man is offline
Community Liaison
 
Join Date: Jun 2003
Location: Australia
Posts: 406
Thanks: 0
Thanked 0 Times in 0 Posts
This error message would very likely be produced by the script itself (something like 'die("Errror 123: An error has occured")' and not by the PHP compiler.

Search the code for the error number, or keywords from the error. This will hopefully lead you to where the error is occuring, and the surrounding code may give some clue as to why it is occuring.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking for an online radio php script Swifty Script Requests 3 10-10-09 06:03 AM
Is there any integrity of script rankings? webmaster@atmanager.com Hot Scripts Forum Questions, Suggestions and Feedback 17 08-06-04 01:12 AM
Using crond to run a php script with redirect and refresh php_newbie PHP 2 02-09-04 01:03 PM
100 Web Templates & 10 PHP Scripts for sale! HostersUK.co.uk General Advertisements 0 01-10-04 01:31 AM
Affiliate script (PHP) whtiebear Job Offers & Assistance 2 12-21-03 01:12 AM


All times are GMT -5. The time now is 01:20 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.