|
|||||||
| Soholaunch 'How do I' Questions Trying to do something and not sure what built-in features are available to help you do it? Post here. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Quote:
I vaguely remember getting an error llike that once but cannot fully recollect the problem. It was either that I had two products entries with identical names or I had failed to fill in a required field. I do remember that it required no correction in the script itself. Wish I could be more specific but I never had that as a recurring problem. |
|
|||
|
Quote:
I too am getting ILLEGAL PRODUCT ADDITION DETECTED. when a user tries to checkout. BUT, I have only one product. There are NO variations, and no odd ascii characters in the name or anythere else in the description. This only happens when I envoke the SSL certificate. If I do not use SSL, the checkout work fine. Now there's a head scratcher! Anyone in SohoLaunch Land have any ideas?
|
|
|||
|
Quote:
|
|
|||
|
Quote:
Actually I just am relying on the secure connection and transaction provided by PayPal. When my customers go there, they are sure their transaction is secure. This doesn't help with the initial collection of customer info at my site though. Still smells like a bug to me.
|
|
|||
|
We are having this problem as well, however it shows quite a bit more than ILLEGAL PRODUCT ADDITION DETECTED.
This happens only when you choose continue shopping, then add another product and try to checkout. Here is the error message we get: Notice: Undefined index: docroot_path in /home/username/public_html/shopping/pgm-checkout.php on line 38 Warning: main(/sohoadmin/program/includes/shared_functions.php): failed to open stream: No such file or directory in /home/username/public_html/shopping/pgm-checkout.php on line 39 Warning: main(/sohoadmin/program/includes/shared_functions.php): failed to open stream: No such file or directory in /home/username/public_html/shopping/pgm-checkout.php on line 39 Warning: main(): Failed opening '/sohoadmin/program/includes/shared_functions.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/username/public_html/shopping/pgm-checkout.php on line 39 Notice: Undefined index: docroot_path in /home/username/public_html/shopping/pgm-cart_config.php on line 33 Warning: main(/sohoadmin/includes/config.php): failed to open stream: No such file or directory in /home/username/public_html/shopping/pgm-cart_config.php on line 33 Warning: main(/sohoadmin/includes/config.php): failed to open stream: No such file or directory in /home/username/public_html/shopping/pgm-cart_config.php on line 33 Warning: main(): Failed opening '/sohoadmin/includes/config.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/username/public_html/shopping/pgm-cart_config.php on line 33 Notice: Undefined index: docroot_path in /home/username/public_html/shopping/pgm-cart_config.php on line 34 Warning: main(/sohoadmin/includes/db_connect.php): failed to open stream: No such file or directory in /home/username/public_html/shopping/pgm-cart_config.php on line 34 Warning: main(/sohoadmin/includes/db_connect.php): failed to open stream: No such file or directory in /home/username/public_html/shopping/pgm-cart_config.php on line 34 Warning: main(): Failed opening '/sohoadmin/includes/db_connect.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/username/public_html/shopping/pgm-cart_config.php on line 34 Notice: Undefined variable: this_ip in /home/username/public_html/shopping/pgm-checkout.php on line 117 Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/username/public_html/shopping/pgm-checkout.php on line 152 Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/username/public_html/shopping/pgm-checkout.php on line 161 Notice: Use of undefined constant PROD_UNITPRICE - assumed 'PROD_UNITPRICE' in /home/username/public_html/shopping/pgm-checkout.php on line 179 Notice: Use of undefined constant PROD_UNITPRICE - assumed 'PROD_UNITPRICE' in /home/username/public_html/shopping/pgm-checkout.php on line 180 Notice: Undefined offset: 2 in /home/username/public_html/shopping/pgm-checkout.php on line 149 ILLEGAL PRODUCT ADDITION DETECTED. |
|
|||
|
I struggled for a long time trying to figure out how to properly use an SSL without getting errors. Here is how it is done:
1 - create a notepad file with the following coding: // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.yourdomain.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://yourdomain.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.yourdomain.com'); define('HTTPS_COOKIE_DOMAIN', 'yourdomain.com'); define('HTTP_COOKIE_PATH', '/ssl certificate folder name/'); define('HTTPS_COOKIE_PATH', '/ssl certificate folder name/'); define('DIR_WS_HTTP_CATALOG', '/ssl certificate folder name/'); define('DIR_WS_HTTPS_CATALOG', '/ssl certificate folder name/'); ---------------- NOTES ----------------- replace "yourdomain.com" with your website name. replace "/ssl certificate folder name/" with the folder name where your ssl certificate is located on the server. 2 - save the file with the name "configure.txt" 3 - rename the file to "configure.php" 4 - FTP the file to the root directory of your domain name (in your FTP program when you log into your website it is the first folder with this symbol "/") 5 - In your SOHOadmin under -->Shopping Cart --> Payment Options: Under 6. I am using an SSL Certificate with my web site and when going to the checkout the following https:// call should be made to the scripts to invoke the SSL Cert. type the following: "https://yourdomain.com (replacing "yourdomain.com" with your website name.) 6 - Save changes. This should do the trick. You can view a working version of this at the website I currently have under construction at www.demoblowout.com Hope this helps. I spent a lot of time in this forum looking to do just this and found nothing so I figured I'd come back and let all of you know, now that I figured it out on my own. |
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|