lottery mod error help

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   lottery mod error help
PhoneTech
CZ Super Newbie
canada.gif
Age: 52
Gender: Male
Website:
Status: Offline
Joined: Oct 25, 2003
0.01 posts per day
Posts: 51
Points: 3,299
   
SQL Error : 1146 Table 'totalonlineplay_com_-_phpnuke.LOTTERY_TABLE' doesn't exist

SELECT * FROM LOTTERY_TABLE WHERE id > 0

Line : 119
File : /home/virtual/site44/fst/var/www/html/one/phpnuke/modules/Forums/admin/admin_lottery.php

Possibly a short between the chair and keyboard....

I am lost



Back to top Reply with quote
#2   re: lottery mod error help
wolf
CZ Active Member
usa.gif indiana.gif
Occupation: Student; Flash, HTML, PHP developer
Age: 34
Gender: Male
Status: Offline
Joined: Jul 25, 2003
0.02 posts per day
Posts: 168
Points: 10,417
AIM Address Yahoo Messenger MSN Messenger 
many times i have to configure my mods for my site because i have it in a couple of sub-directories...as i see you do. Open up that file and look thru to see if you have something like "/html/admin/file/" if you do change it to w/e it is up to /admin/...

i think that might be what it is




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#3   re: lottery mod error help
PhoneTech
CZ Super Newbie
canada.gif
Age: 52
Gender: Male
Website:
Status: Offline
Joined: Oct 25, 2003
0.01 posts per day
Posts: 51
Points: 3,299
   
First of all thanks Wolf..... Could you Dumb it down for me a bit.AKA which file ?



Back to top Reply with quote
#4   re: lottery mod error help
wolf
CZ Active Member
usa.gif indiana.gif
Occupation: Student; Flash, HTML, PHP developer
Age: 34
Gender: Male
Status: Offline
Joined: Jul 25, 2003
0.02 posts per day
Posts: 168
Points: 10,417
AIM Address Yahoo Messenger MSN Messenger 
Then again, since it is an SQL error, you have not set up the SQL for the Lottery right, or the configuration is wrong...is there like a config.php or anything to configure pertaining to the database?




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#5   re: lottery mod error help
Kelly_Hero
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif southcarolina.gif
Occupation: Web Developer
Age: 59
Gender: Female
Website:
Status: Offline
Joined: Aug 20, 2003
0.48 posts per day
Posts: 3765
Points: 351,412
   
Let me see if I can help.


SQL Error : 1146 Table 'totalonlineplay_com_-_phpnuke.LOTTERY_TABLE' doesn't exist

SELECT * FROM LOTTERY_TABLE WHERE id > 0

Line : 119
File : /home/virtual/site44/fst/var/www/html/one/phpnuke/modules/Forums/admin/admin_lottery.php


What that error is telling you is that in Line 119 of admin_lottery.php, you are trying to pull all the data from the LOTTERY_TABLE in your database, but it can't find a table by that name in your database. So the first step is to check to see if the table does indeed exist in your database. If it isn't then you either didn't run the sql that installs the table, or for some reason it didn't install when you ran the sql.

If the table does exist in your database, then you need to start checking config files to make sure your paths are correct.



Back to top Reply with quote
#6   
PhoneTech
CZ Super Newbie
canada.gif
Age: 52
Gender: Male
Website:
Status: Offline
Joined: Oct 25, 2003
0.01 posts per day
Posts: 51
Points: 3,299
   
Totally user error, I forgot to define 2 tables....Its fixed now
thanks guys



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum