When i delte all items out of my Basket i get an error!

A shopping addon for Roster

Moderator: Hannah

When i delte all items out of my Basket i get an error!

Postby ahnernoch » Fri Oct 13, 2006 8:10 pm

When i delte all items out of my Basket i get an error! it seems liek this....

Notice: Undefined index: order_state in /homepages/27/d33261598/htdocs/roster/addons/shopping/phpCart_basket.php on line 92

i use a german rooster!
ahnernoch
WR.net Apprentice
WR.net Apprentice
 
Posts: 31
Joined: Sat Sep 02, 2006 12:33 am

When i delte all items out of my Basket i get an error!

Postby Hannah » Fri Oct 13, 2006 9:01 pm

?
That´s new, i tried it without error...
Hm i check the cookie´s andgive you response :)

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

When i delte all items out of my Basket i get an error!

Postby MattM » Fri Oct 13, 2006 9:35 pm

notices are common, and are NOT errors, to fix this change error reporting in your php.ini file.

some server are set to show EVERYTHING, which includes notices.

you can also turn down error reporting using php_ini_set or soemthing like that
MattM
UA/UU Developer
UA/UU Developer
Gimpy Developer
Gimpy Developer
 
Posts: 886
Joined: Tue Jul 04, 2006 9:53 pm
Location: USA

When i delte all items out of my Basket i get an error!

Postby zanix » Sat Oct 14, 2006 1:40 am

ahnernoch wrote:i use a german rooster!

Woah, a german rooster?
[url=http://www.cacklehatchery.com/germanspitzhaubenpage.html]Image
http://www.cacklehatchery.com/germanspi ... npage.html[/url]



Matt_Miller wrote:notices are common, and are NOT errors, to fix this change error reporting in your php.ini file.

some server are set to show EVERYTHING, which includes notices.

you can also turn down error reporting using php_ini_set or soemthing like that

You can also use
Code: Select all
error_reporting(E_ALL E_NOTICE); 
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5543
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Re: When i delte all items out of my Basket i get an error!

Postby ahnernoch » Sat Oct 14, 2006 4:39 pm

i dont understand! where i have to put or use this script?!
ahnernoch
WR.net Apprentice
WR.net Apprentice
 
Posts: 31
Joined: Sat Sep 02, 2006 12:33 am

When i delte all items out of my Basket i get an error!

Postby Hannah » Sun Oct 15, 2006 9:25 pm

What they mean (btw,thx for that :)
you can out this on top (e.g. line 2) of the phpCart_basket.php file
Code: Select all

error_reporting
(E_ALL E_NOTICE);
 


This will stop throwing the notice.

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

Re: When i delte all items out of my Basket i get an error!

Postby ahnernoch » Mon Oct 16, 2006 6:58 pm

ok thx! taht works! but the line was in the functions_cart.php. Thx 4 help!
ahnernoch
WR.net Apprentice
WR.net Apprentice
 
Posts: 31
Joined: Sat Sep 02, 2006 12:33 am

When i delte all items out of my Basket i get an error!

Postby Hannah » Mon Oct 16, 2006 8:24 pm

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


Return to Shopping

Who is online

Users browsing this forum: No registered users and 0 guests

cron