Click here to visit our Sponsor

PerlShop FAQ


How do I install this script for my Web?

You will need to go to your console and select Install Prewritten Scripts.   Check the Perlshop box, and click install.

**NOTE**  If a previous install has been misconfigured, check overwrite and install then click the install button.

This will create all of the necessary directories with the correct permissions and install the necessary files.


Why do I get an Invalid Transmission Error #3 when I try to enter the store?

The reason you are receiving this is most likely because you do not have ENTER SHOP as the value on your button.  We have noticed that unless ENTER SHOP is the value on the button you won't ever be able to enter the shop.


Is there anything I'll need to make changes to?

Yes, here are the changes which you will need to make in the perlshop.cgi document, located in your cgi-bin/Mystore directory: $company_name        = 'www.yourdomain.com';
$company_address    = 'Company Address';
$company_email        = 'webmaster@yourdomain.com';
$mail_order_to        = 'webmaster@yourdomain.com';

For an explanation of these variables, click here.

You should now have a working Shopping cart, ready for you to customize. You will find Company customization options ready to be configured for your needs, located further down in the perlshop.cgi script. To call your script in an HTML document, include something similar to the following form:


<FORM METHOD=POST ACTION="http://YOURDOMAIN.com/cgi-bin/MyStore/perlshop.cgi">
<input type=SUBMIT NAME=ACTION value="ENTER SHOP">
<input TYPE=HIDDEN NAME=thispage VALUE="page1.shtml">
<input TYPE=HIDDEN NAME=ORDER_ID VALUE="!ORDERID!">
</FORM>

You should be able to get to enter the Store afterwards.


How Do I get the order information placed by my customers?

In order to get the orders placed by your customers you will need to install a separate script.  The following link will send you to a page called printorders.txt,  you will need to save it as printorders.cgi or printorders.pl(it's up to you, both will work!!)  There are instructions within the script on how to set it up.  If you still can not get it working correctly please contact help@megaton.net.  You will need to supply the domain name your are using these scripts on and the error you are getting.


Where do the files get installed to?

The files and locations are as follows:
/htdocs/perlshop
index.shtml - basic entrance page
perllogo.jpg - perlshop logo
perllogo.gif - required by license agreement for use of perlshop
The script itself and directories required for operation, as well as permissions for directories
/htdocs/cgi-bin/Mystore 755
/htdocs/cgi-bin/Mystore/perlshop.cgi 755
/htdocs/cgi-bin/Mystore/catalog 755
/htdocs/cgi-bin/Mystore/catalog/page1.shtml 644
/htdocs/cgi-bin/Mystore/catalog/page2.shtml 644
/htdocs/cgi-bin/Mystore/catalog/page3.shtml 644
/htdocs/cgi-bin/Mystore/catalog/page4.shtml 644
/htdocs/cgi-bin/Mystore/customers 755
/htdocs/cgi-bin/Mystore/log 755
/htdocs/cgi-bin/Mystore/orders 755
/htdocs/cgi-bin/Mystore/temp_customers 755
/htdocs/cgi-bin/Mystore/temp_orders 755
/htdocs/cgi-bin/Mystore/tokens 755

Back to the Index