[SOLVED] problem (Apache 406 error)

A shopping addon for Roster

Moderator: Hannah

[SOLVED] problem (Apache 406 error)

Postby Foxy » Thu Aug 24, 2006 3:55 pm

Hi all,

First off let me say what a wonderfull idea this is...

That being said their are many problems I have run into trying to use this addon.

The zip file I downloaded for the Roster addon provided me with Shopping_list.lua rather than Shopping.lua as seen in the screen shot and text of the documention pdf...

So what one is wrong? What changes need to be made?


When addressing the additional URL for upload and download:

http://www.dragonkillers.us/roster/addo ... e=shopping

I get a 406 error: I know what I need to do to fix this, .htaccess, but to what directory do I need to place the .htaccess file?


Last but not least the in game addon errors in the current patch:

Interface\AddOns\Shopping\Shopping.lua: 1009: bad argument #1 `getn' (table expected, got nil)

(This corrected it's self when I placed both Shopping_list.lua and Shopping.lua in the WTF\ACCOUNT\SavedVariables\ )

But the mini-map icon does not work for opening the Frame...
Last edited by Foxy on Fri Aug 25, 2006 1:55 am, edited 1 time in total.
Foxy
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 111
Joined: Tue Aug 22, 2006 9:49 am

A lot of questions and just one problem (Apache 406 error)

Postby Foxy » Thu Aug 24, 2006 4:02 pm

Another thing I just noticed... After placing an order I examined the database and found no order records...?
Last edited by Foxy on Thu Aug 24, 2006 4:21 pm, edited 1 time in total.
Foxy
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 111
Joined: Tue Aug 22, 2006 9:49 am

Re: A lot of questions and just one problem (Apache 406 erro

Postby Hannah » Thu Aug 24, 2006 6:07 pm

I know about the new patch problem and i fix it this weekend...

Which .htacces file ?

Did you put it there ?

This could be the problem...

You can try (just try once to see if it works) to delete (backup first)
the .htaccess and check if it works...

Did you configure shopping-addon to manually download the zip file ?

CU

Hannah
User avatar
Hannah
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 142
Joined: Tue Jul 04, 2006 1:41 pm
Location: Germany, Cologne

A lot of questions and just one problem (Apache 406 error)

Postby Foxy » Fri Aug 25, 2006 12:01 am

Hannah,

I had tried to configure Shopping cart addon for the Roster to do download the zip. This did not work... No download would start.

The .htaccess file was an idea I had since the 406 error occured while trying to submit and upload to the Shopping cart addon for Roster via the UniUploader. Like this post: http://www.wowroster.net/Forums/viewtopic/t=308.html


*Edit*

I corrected the 406 error...
Last edited by Foxy on Fri Aug 25, 2006 12:49 am, edited 2 times in total.
Foxy
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 111
Joined: Tue Aug 22, 2006 9:49 am

A lot of questions and just one problem (Apache 406 error)

Postby Foxy » Fri Aug 25, 2006 12:21 am

I fixed the issue with the Shopping_list.lua, it now is written to and downloaded as a zip file...
Last edited by Foxy on Fri Aug 25, 2006 1:32 am, edited 3 times in total.
Foxy
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 111
Joined: Tue Aug 22, 2006 9:49 am

A lot of questions and just one problem (Apache 406 error)

Postby Foxy » Fri Aug 25, 2006 1:16 am

Placed the Shopping_list.lua in the Interface\AddOns\Shopping directory and started the game...

Enabled Shopping and did a /Shopping Show

The frame was empty...?

Is this a bug?
Foxy
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 111
Joined: Tue Aug 22, 2006 9:49 am

A lot of questions and just one problem (Apache 406 error)

Postby Foxy » Fri Aug 25, 2006 1:53 am

Did some searching...

Changed the SQL

CREATE TABLE `roster_addon_shopping` (
`order_number` int(255) NOT NULL auto_increment,
`order_item` varchar(255) NOT NULL default '',
`order_quantity` int(10) NOT NULL default '0',
`order_maker` varchar(100) NOT NULL default '',
`order_requester` varchar(100) NOT NULL default '',
`order_maxprice` int(255) NOT NULL default '0',
`order_note` varchar(255) NOT NULL default '',
`order_price_demand` int(255) NOT NULL default '0',
`order_date` datetime default NULL,
`order_state` enum('none','outbox','send','info') NOT NULL default 'none',
`order_info` varchar(255) default NULL,
PRIMARY KEY (`order_number`)
) ENGINE=MyISAM AUTO_INCREMENT=1;

Works fine now... log works, database works, UU download of the data Shopping.lua works! Whee

Thanks for the help, I'm sure I had you just as lost as me! hehe

The install package on this site should be updated, since the errors I have seem to be from the sql.php being out of date...
Foxy
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 111
Joined: Tue Aug 22, 2006 9:49 am


Return to Shopping

Who is online

Users browsing this forum: No registered users and 1 guest

cron