Getting error:Can't Open https://server28.hypermart.net/marciachristopherson/cgi-bin/smart/tmp/mystore-(r): No such file or directory

greenspun.com : LUSENET : S-Mart Shopping Cart : One Thread

Apparently the script isn't properly creating/reading the tmp file for my store...

Is that because I'm trying to use secure server? (I checked with our sysop; the secure server *is* on the server I'm using for my whole site).

If not, what? The header/footer/orderform .html files are creating the same errors (still!). In smart.cfg I specified the $storename variable to be assigned the value of "mystore"...

Is this a CHMOD issue w/the tmp directory? Shouldn't be, I chmodded to 775...

If you want to (PLEASE, SOMEBODY *want* to! :-) check out the page from which the error occurs: http://server28.hypermart.net/marciachristopherson/gangels.html

Thanks, folks, for the 2 notes I've received regarding this issue (only now it seems to have gotten bigger *sigh*), but none of the suggestions thus far have worked... not that I don't appreciate any and all suggestions!!!! :-)

THANKS i

-- Cat Peterson (cpeterson6@uswest.net), February 15, 2000

Answers

I looked at you cfg file and you have the $cgiurl and $adminurl set wrong. You need to indicate the DIRECTORY not the file name. You should cut those lines off at after /smart";

Also, down where you tell it the name of your temporary file name, just put in tmp, do not put the entire URL.

Be sure that your tmp file is set to be able to be read and written to.

John

-- John K (j_kennedy100@hotmail.com), February 15, 2000.


Wait, I just found the problem. There is a line in the cfg file that looks like this:

$basepath=

You have the URL in here, not the basepath or absolute path. This is the reason why the system can't see your header, footer or URL.

Your absolute path is:

/data1/hypermart.net/marciachristopherson

so the line should read:

$basepath=/data1/hypermart.net/marciachristopherson

That should fix it. Change the thing about the tmp file, save it and load it up and it should work.

John

-- John K. (j_kennedy100@hotmail.com), February 15, 2000.


Moderation questions? read the FAQ