Version: 4.1.57
URL:
|
ryanmw2002
Member Usergroup: Customer Joined: Mar 31, 2008 Total Topics: 4 Total Posts: 12 |
Posted 09/14/08 - 12:26 PM:
I am getting an SQL error that usually only happens when viewing the index.php and not being logged in. I get it both in firefox and IE7. It seems to go away when I am logged in. The last major items that I have done is upgrading from previous versions and added a custom URL field. On a side note. I have a cron (has worked for a long time with no error) that removes all the images in the gallery every 24 hours. I noticed that if i check the site the next morning those images will still show up unless I log in. Seems possible that this may be related to the SQL error.
|
|
Paul
developer Usergroup: Administrator Joined: Dec 20, 2001 Location: Diamond Springs, California Total Topics: 65 Total Posts: 7614 |
Posted 09/14/08 - 8:51 PM:
I have a cron (has worked for a long time with no error) that removes all the images in the gallery every 24 hours. This is the problem: the way it tries to reference one of the tables was applicable to 4.1 but no longer works in 5.0. I need to see the code to suggest a correction. Edited by Paul on 09/14/08 - 8:56 PM |
|
ryanmw2002
Member Usergroup: Customer Joined: Mar 31, 2008 Total Topics: 4 Total Posts: 12 |
Posted 09/17/08 - 4:58 PM:
Ok today I got around to grabbing the code for the cron and now I cant even login as admin. One change I made the other day was the option to integrate PHPBB forum database with WSN database (forget the exact name of the option, its towards the bottom of admin panel). I ran a debug again (shown below). It looks like it is searching for the new phpbb-wsn database but cant find it. Is there anyway to get logged in and try to get rid of this problem?
Thanks! |
|
Paul
developer Usergroup: Administrator Joined: Dec 20, 2001 Location: Diamond Springs, California Total Topics: 65 Total Posts: 7614 |
Posted 09/18/08 - 2:28 AM:
Table 'grabspac_wsn.phpbb_users' doesn't exist This can only mean that the grabspac_wsn.phpbb_users doesn't exist. That's database grabspac_wsn, table phpbb_users. Check for yourself. Can't integrate with something that isn't there. To undo integration, run the query listed in the troubleshooting section at http://scripts.webmastersite.net/w...system-integration-75.html Edited by Paul on 09/18/08 - 2:31 AM |
|
ryanmw2002
Member Usergroup: Customer Joined: Mar 31, 2008 Total Topics: 4 Total Posts: 12 |
Posted 09/18/08 - 6:36 PM:
Paul, Does anyone ever tell you how smart you are? Cause they should. Worked like a charm. Ok on to my Cron, here is the code
I suppose the tables have changed a bit? Thanks, |
|
Paul
developer Usergroup: Administrator Joined: Dec 20, 2001 Location: Diamond Springs, California Total Topics: 65 Total Posts: 7614 |
Posted 09/20/08 - 6:59 AM:
Did you miss the $db-> start when copying? None of those changed, actually, but it should always have been broken since you have a typo: "comentstable" should be spelled properly as "commentstable". And if you really do have the file starting with "delete" then add the "$db->" in front of it. |
|
ryanmw2002
Member Usergroup: Customer Joined: Mar 31, 2008 Total Topics: 4 Total Posts: 12 |
Posted 09/20/08 - 9:19 AM:
I miscopied the code, but you are right there was a typo with the commentstable. I believe that fixed it. No problems so far. |
Sorry, you don't have permission to post. Log in, or register if you haven't yet.

Print