Checkout by Email - Problems configuring

wolphie

Joined: 2006-04-14
Posts: 7
Posted: Fri, 2006-04-14 19:20

Im attempting to configure the checkout by email module, which unpacked and installed with no problems, but when i go to configure the module, i get a page with the following info:

Quote:
Security Violation
The action you attempted is not permitted.

Back to the Gallery

Error Detail -
Error (ERROR_BAD_PARAMETER) : /homepages/9/d153837495/htdocs/gallery/gallery2/modules/core/classes/helpers/../../../../modules/checkoutemail/Admin.inc
in modules/core/classes/GalleryView.class at line 194 (gallerycoreapi::error)
in modules/core/SiteAdmin.inc at line 145 (galleryview::loadview)
in modules/core/classes/GalleryView.class at line 317 (siteadminview::loadtemplate)
in main.php at line 386 (siteadminview::doloadtemplate)
in main.php at line 87
in main.php at line 80
System Information
Gallery version 2.1
PHP version 4.4.2 cgi
Webserver Apache/1.3.33 (Unix)
Database mysql 4.0.25-standard-log
Toolkits SquareThumb, NetPBM
Operating system Linux infong 2.4 #1 SMP Wed Jan 18 14:53:29 CET 2006 i686 unknown
Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)

Is there a permissions I might be overlooking or something im missing?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sat, 2006-04-15 04:48

Does modules/checkoutemail/Admin.inc exsist or can the webserver read it? Permissions on that file?

 
wolphie

Joined: 2006-04-14
Posts: 7
Posted: Sat, 2006-04-15 05:20

yes it does exist, and permissions were set at 666 when the error occurred, tried setting at 777 with same results

 
turnbulm

Joined: 2004-10-03
Posts: 431
Posted: Sat, 2006-04-15 08:00

Are permissions right on the whole checkout/ and checkoutemail/ trees? You shouldn't need 666, 644 on files and 755 on folders should be fine. If that doesn't make a difference then try clearing out your template cache (site admin -> Maintenance).

 
turnbulm

Joined: 2004-10-03
Posts: 431
Posted: Sat, 2006-04-15 08:01

Also - did you upload the "checkout" module as well, or just "checkoutemail"? The email one depends on Checkout for the cart functionality, and I'm not sure what errors you might get if you try to configure it without both being installed...

 
wolphie

Joined: 2006-04-14
Posts: 7
Posted: Sat, 2006-04-15 08:14

All to no avail

 
wolphie

Joined: 2006-04-14
Posts: 7
Posted: Sat, 2006-04-15 08:15

yes, installed and configured checkout before installing checkoutemail

 
kerryman
kerryman's picture

Joined: 2005-10-14
Posts: 130
Posted: Sat, 2006-04-15 09:02

Have a look at this: http://gallery.menalto.com/node/47821

it's googlemap module, but error looks more than similar.

the author says
"the version of zip on my ISP's box is broke, no matter what case the file name is in the zip file, that version of zip they use extracts it all as lowercase"

cause Apache is case sensitive, one character can mess the whole thing up.

 
wolphie

Joined: 2006-04-14
Posts: 7
Posted: Sat, 2006-04-15 09:16

it clicked when you reminded me about case sensitivity :P i didnt have to look at the other thread. Went into my ftp client and sure enough, Admin.inc and Admin.tpl were both in lowercase. Im guessing my hosts zip shell is configured the same way, that it ignores case, and unpacks everything with lowercase filenames.

Thanks for the quick responses and helping me sort this one out :)

 
kerryman
kerryman's picture

Joined: 2005-10-14
Posts: 130
Posted: Sat, 2006-04-15 09:21

My pleasure :)

I was helped hundred of times here. Now I'm trying to "pay-it-forward" :)