MySQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesMySQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old March 21st, 2005, 11:44 PM
aznkid14 aznkid14 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2005
Posts: 1 aznkid14 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 59 sec
Reputation Power: 0
MySQL Problems

Well I am quite a newb when it comes to mySQL, and I am getting a few errors after restoring my backed up .sql files on a new domain.

The story: Old domain expired, new domain bought and set up with new hosting account. All .sql query files readded.

My script: IPB site integration

I am basically having an error on each part of my site where the integration is involved. Take a look: zetaanime.net/index.php

Please help, I don't know why after the restoration it turned out like this.

Here is an EXAMPLE error:
mySQL query error: SELECT t.*, p.*, g.g_dohtml AS usedohtml FROM ipb_topics t LEFT JOIN ipb_posts p ON (t.tid=p.topic_id) LEFT JOIN ipb_members m ON (p.author_id=m.id) LEFT JOIN ipb_groups g ON (m.mgroup=g.g_id) WHERE t.tid='102' AND p.new_topic='1'

mySQL error:
mySQL error code:
Date: Monday 21st of March 2005 09:01:41 PM

Reply With Quote
  #2  
Old March 29th, 2005, 12:35 PM
gertcuppens's Avatar
gertcuppens gertcuppens is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 118 gertcuppens User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 h 28 m
Reputation Power: 5
You're writing the following
Here is an EXAMPLE error:
mySQL query error: SELECT t.*, p.*, g.g_dohtml AS usedohtml FROM ipb_topics t LEFT JOIN ipb_posts p ON (t.tid=p.topic_id) LEFT JOIN ipb_members m ON (p.author_id=m.id) LEFT JOIN ipb_groups g ON (m.mgroup=g.g_id) WHERE t.tid='102' AND p.new_topic='1'

mySQL error:
mySQL error code:
Date: Monday 21st of March 2005 09:01:41 PM


Could you be more specific ? Normally the MySQL error is a string describing what goes wrong.
Here, it only gives the date and hour.

ANother thing : you should try to run this SQL instruction in a mySQL GUI, like Navicat, just to see whether
the SQL instruction itself returns one or more records. That way, you're sure the SQL statement is OK
and the error is inside your program.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMySQL Development > MySQL Problems


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway