Shop-2.6.0 Problems

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Shop-2.6.0 Problems
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 
I tried to run shop_install.php and this is what i get:

Fatal error: Cannot instantiate non-existent class: sql_db in /home/ideastre/public_html/PHP-Nuke/html/db/db.php on line 86


Can someone please help!?!?!



_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#2   
trusted-host
CZ Super Newbie
trusted-host has been a member for over 20 year's 20 Year Member
canada.gif
Occupation: Self Employeed
Age: 37
Gender: Male
Fav. Sports Team: Toronto Maple Leafs
Website:
Status: Offline
Joined: Sep 06, 2004
0.01 posts per day
Posts: 49
Points: 2,410
   
Hello

Open up your phpmyadmin, go to the database where your phpnuke is running off, then click the sql tab, click browse, find the file, and click go, it should work now.

Trusted-Host



Back to top Reply with quote
#3   re: Shop-2.6.0 Problems
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 
There is no SQL file that I can upload into the database directly, it is all initiated through a PHP page, shop_install.php.

Anything else I can try doing???




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#4   re: Shop-2.6.0 Problems
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 
*bump* PLEASE HELP

I'm now getting this for the error...

Warning: main(modules/Forums/extension.inc): failed to open stream: No such file or directory in /home/ideastre/public_html/PHP-Nuke/html/modules/Forums/shop_install.php on line 36

Warning: main(): Failed opening 'modules/Forums/extension.inc' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/ideastre/public_html/PHP-Nuke/html/modules/Forums/shop_install.php on line 36

Warning: main(modules/Forums/common.): failed to open stream: No such file or directory in /home/ideastre/public_html/PHP-Nuke/html/modules/Forums/shop_install.php on line 37

Warning: main(): Failed opening 'modules/Forums/common.' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/ideastre/public_html/PHP-Nuke/html/modules/Forums/shop_install.php on line 37

Warning: main(modules/Forums/nukebb.php): failed to open stream: No such file or directory in /home/ideastre/public_html/PHP-Nuke/html/modules/Forums/shop_install.php on line 38

Fatal error: main(): Failed opening required 'modules/Forums/nukebb.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/ideastre/public_html/PHP-Nuke/html/modules/Forums/shop_install.php on line 38




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#5   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,475
   
What do you mean all of a sudden there was no error there last night but tonite there is? Please explain.

SQL

create table `nuke_shopitems` (`id` INT UNSIGNED NOT NULL AUTO_INCREMENT, `name` CHAR (32) NOT NULL, `shop` CHAR (32) NOT NULL, `sdesc` CHAR (80) NOT NULL, `ldesc` TEXT NOT NULL, `cost` INT (20) UNSIGNED DEFAULT '100', `stock` TINYINT (3) UNSIGNED DEFAULT '10', `maxstock` TINYINT (3) UNSIGNED DEFAULT '100', `sold` INT (5) UNSIGNED NOT NULL DEFAULT '0', `accessforum` INT (4) DEFAULT '0', PRIMARY KEY(`id`), INDEX(`name`));
create table `nuke_shops` (`id` INT UNSIGNED NOT NULL AUTO_INCREMENT, `shopname` CHAR (32) NOT NULL, `shoptype` CHAR (32) NOT NULL, PRIMARY KEY(`id`), `type` char (32) NOT NULL, `restocktime` INT (20) UNSIGNED DEFAULT '86400', `restockedtime` INT (20) UNSIGNED DEFAULT '0', `restockamount` INT (4) UNSIGNED DEFAULT '5', `amountearnt` INT (20) UNSIGNED DEFAULT '0', INDEX(`shopname`));
insert into nuke_bbconfig (config_name, config_value) values ('multibuys', 'on');
insert into nuke_bbconfig (config_name, config_value) values ('restocks', 'off');
insert into nuke_bbconfig (config_name, config_value) values ('sellrate', '75');
insert into nuke_bbconfig (config_name, config_value) values ('viewtopic', 'images');
insert into nuke_bbconfig (config_name, config_value) values ('viewprofile', 'images');
insert into nuke_bbconfig (config_name, config_value) values ('viewinventory', 'grouped');
insert into nuke_bbconfig (config_name, config_value) values ('specialshop', 'ßstoreÞdisabledßnameÞEffects StoreßoffÞ1ßoffÞ1ßoffÞ1ßoffÞ1ßoffÞ1ßoffÞ1ßoffÞ1ßoffÞ1ßoffÞ1ßoffÞ1ßoffÞ1ßoffÞ1ßoffÞ1');
insert into nuke_bbconfig (config_name, config_value) values ('viewtopiclimit', '5');
insert into nuke_bbconfig (config_name, config_value) values('shop_orderby', 'name');
insert into nuke_bbconfig (config_name, config_value) values('shop_give', 'on');
insert into nuke_bbconfig (config_name, config_value) values('shop_trade', 'on');
insert into nuke_bbconfig (config_name, config_value) values('shop_invlimit', '0');
alter table nuke_users add `user_effects` CHAR (255);
alter table nuke_users add `user_privs` CHAR (255);
alter table nuke_users add `user_custitle` TEXT;
alter table nuke_users add `user_specmsg` TEXT;
alter table nuke_users add `user_items` TEXT;
alter table nuke_users add `user_trade` TEXT;




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#6   re: Shop-2.6.0 Problems
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 
I had the shop_install in thw rong directory, so i re-uploaded the SQL and moved the install file to a different location. Thats when i stopped getting the sql_db error, and I started getting that new error.




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#7   re: Shop-2.6.0 Problems
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 
OK, I think i have everything edited and everything...the SQL tables are updated and all...but one more problem. I cant add anything to my shop and one question, where do I go to change the URL in the veiw_topic.tpl? When I go to Veiw a post, it says Items. But when I click it, it takes me to my homepage, the index.php for the PHPNuke.

Thanks...icon_smile.gif




_________________
[ 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