php nuke 7.5 Cash Mod 221 problem running sql_install.php

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   php nuke 7.5 Cash Mod 221 problem running sql_install.php
_Aerospace_Eng_
CZ Active Member
_Aerospace_Eng_ has been a member for over 20 year's 20 Year Member
usa.gif
Age: 39
Gender: Male
Status: Offline
Joined: Nov 09, 2004
0.03 posts per day
Posts: 200
Points: 10,133
   
okay i just installed a fresh php nuke to my site, im trying to add a cash mod, i made all the edits, i uploaded all the files, but when i go to run the sql_install.php file, it comes up page not found, and i know its on my server because i've tried to access it directly and it says you can't access this file directly, could it be that mysql is down? i was also wondering how i would go about running the sql queries manually, how would i do this?




_________________
Back to top Reply with quote
#2   
Gareth
CZ Addict
 Codezwiz Site Donator
Gareth has been a member for over 20 year's 20 Year Member
uk.gif
Occupation: Student, Webmaster
Gender: Male
Fav. Sports Team: Liverpool FC
Status: Offline
Joined: May 29, 2004
0.08 posts per day
Posts: 587
Points: 38,220
   
Im not trying to be stupid or anythin but are you running it modules.php?name=Forums&file=sql_install ?

Gareth




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#3   re: php nuke 7.5 Cash Mod 221 dont know y
_Aerospace_Eng_
CZ Active Member
_Aerospace_Eng_ has been a member for over 20 year's 20 Year Member
usa.gif
Age: 39
Gender: Male
Status: Offline
Joined: Nov 09, 2004
0.03 posts per day
Posts: 200
Points: 10,133
   
answer to your question yes i am running it that way, which is y its confusing me, because i can run install files without a problem, so im not sure y its just this one




_________________
Back to top Reply with quote
#4   re: php nuke 7.5 Cash Mod 221 problem running sql_install.ph
Gareth
CZ Addict
 Codezwiz Site Donator
Gareth has been a member for over 20 year's 20 Year Member
uk.gif
Occupation: Student, Webmaster
Gender: Male
Fav. Sports Team: Liverpool FC
Status: Offline
Joined: May 29, 2004
0.08 posts per day
Posts: 587
Points: 38,220
   
Hmmm, you could run them manually, would be a headache if theres a lot.

Find in the sql_install all the bits were it says something like $sql = "the query"; e.g. INSERT INTO ....

And go to phpMyAdmin and run them manually in there, im not sure how many query's there are in the cash mod, havent used it for a long long time....

And I think you might have to find the install bit of the file if it has an uninstaller aswell. I would download it and take a look at it but somfin inside my decent computer has burnt out causin it to not work, so while its gettin fixed I have to use the one im on now, which is a headache as it takes 5 mins to open a browser so I dont even want to think about downloading anything! lol

Gareth




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#5   re: php nuke 7.5 Cash Mod 221 problem running sql_install.ph
_Aerospace_Eng_
CZ Active Member
_Aerospace_Eng_ has been a member for over 20 year's 20 Year Member
usa.gif
Age: 39
Gender: Male
Status: Offline
Joined: Nov 09, 2004
0.03 posts per day
Posts: 200
Points: 10,133
   
thanks gareth, i've tried using phpmyadmin but when i try to run the query i get this error
#
#-----[ SQL ]------------------------------------------
#
# If you don't know how to execute sql queries, then copy
# sql_install.php into your phpbb directory and run it.
# (assuming you use mysql or mssql)
#
# If you don't use mysql or mssql, you'll have to edit these queries accordingly
#
# If you have a different table prefix then change this command accordingly.
# I have used the default table prefix!
#
INSERT INTO nuke_bbconfig( config_name, config_value )
VALUES (

'cash_disable', 0
)

MySQL said: 

#1046 - No Database Selected




_________________
Back to top Reply with quote
#6   re: php nuke 7.5 Cash Mod 221 problem running sql_install.ph
Gareth
CZ Addict
 Codezwiz Site Donator
Gareth has been a member for over 20 year's 20 Year Member
uk.gif
Occupation: Student, Webmaster
Gender: Male
Fav. Sports Team: Liverpool FC
Status: Offline
Joined: May 29, 2004
0.08 posts per day
Posts: 587
Points: 38,220
   
Did you just run this:

INSERT INTO nuke_bbconfig( config_name, config_value )
VALUES (

'cash_disable', 0
)


or did you include all that # sql blah... etc bit ?

If you did dont icon_smile.gif

Gareth



_________________
[ Register or login to view links on this board.]
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