Donate Share

Gallery Cart

Tracker: Bugs

5 404 on gallery/cart/admin/foo while inserting format - ID: 1568799
Last Update: Settings changed ( notgoddess )


Brand new installation of Gallery and Gallery Cart.

The majority of the time, when I enter a new format and
click "Insert", I get a 404 error saying:

"The requested URL /gallery/cart/admin/foo was not
found on this server."


I usually have to insert a blank format, then go and
update it to successfully enter a new format.


Joe Tomasone ( jtomason ) - 2006-10-01 15:58

5

Closed

Fixed

NotGoddess

Operation - Administration

gallery cart v0.4

Public


Comments ( 8 )

Date: 2006-10-03 01:12
Sender: jtomason

Logged In: YES
user_id=306287

This is working fine - safe to say it can be closed.


Date: 2006-10-01 22:17
Sender: jtomason

Logged In: YES
user_id=306287

Yes, so far this works well. Thanks!


Date: 2006-10-01 22:00
Sender: notgoddessProject AdminAccepting Donations

Logged In: YES
user_id=1289873

Did that work for you? Please let me know so I can either
keep working on it or mark this item closed.

Thx,

-Ng_



Date: 2006-10-01 17:23
Sender: notgoddessProject AdminAccepting Donations

Logged In: YES
user_id=1289873

I tested and randomly also had no results.
If you turn your session debugging on to show $_REQUEST
vars, you'd likely see that the 'cmd' is Update and all form
values are empty.

I've adjusted the file to hopefully eliminate this. Please
test with this new update and report back.

-Ng_



Date: 2006-10-01 16:35
Sender: jtomason

Logged In: YES
user_id=306287

Nothing new appears.

Incidentally, the env is:

Gallery 1.5.4
PHP 5.0.4
Apache 2.0.54 (Linux)




Date: 2006-10-01 16:29
Sender: notgoddessProject AdminAccepting Donations

Logged In: YES
user_id=1289873

Apologies. I should know by now the obvious bug isn't all of
the problem. :)

If you would grant me a few moments to extricate myself from
current activities, I'll run some tests and see if I can
locate the error, or gather more info.

I should have something in less than an hour.
Just to be sure:
You type in the data and hit 'insert' and which happens:
1) a blank entry field appears.
2) nothing new appears.
3) you get some other error

-Ng_



Date: 2006-10-01 16:22
Sender: jtomason

Logged In: YES
user_id=306287

I removed the "foo" from line 120 - now I get no error, but
no new formats either - both entering a format and trying to
insert a blank one result in nothing.




Date: 2006-10-01 16:12
Sender: notgoddessProject AdminAccepting Donations

Logged In: YES
user_id=1289873

I'd laugh but I know it's serious for you.
It sounds like I have 'foo' in a form action.
Just checked-on line 120 of cart/admin/products.php the
action is listed as 'foo'.

You can either edit and change
action="foo" to action=""
or use the attached fix.
(be sure to make a backup before you replace).

-Ng_



Attached File ( 1 )

Filename Description Download
products.php updated products.php Download

Changes ( 17 )

Field Old Value Date By
close_date - 2006-10-03 05:20 notgoddess
status_id Open 2006-10-03 05:20 notgoddess
resolution_id None 2006-10-03 05:20 notgoddess
File Added 196098: products.php 2006-10-01 17:23 notgoddess
File Deleted 196093: 2006-10-01 17:23 notgoddess
status_id Pending 2006-10-01 16:35 jtomason
close_date 2006-10-01 16:29 2006-10-01 16:35 jtomason
assigned_to nobody 2006-10-01 16:29 notgoddess
status_id Open 2006-10-01 16:29 notgoddess
resolution_id Fixed 2006-10-01 16:29 notgoddess
close_date - 2006-10-01 16:29 notgoddess
close_date 2006-10-01 16:13 2006-10-01 16:22 jtomason
status_id Pending 2006-10-01 16:22 jtomason
close_date - 2006-10-01 16:13 notgoddess
resolution_id None 2006-10-01 16:13 notgoddess
status_id Open 2006-10-01 16:13 notgoddess
File Added 196093: products.php 2006-10-01 16:12 notgoddess