Jump to content

Julien

Member
  • Content Count

    4
  • Joined

  • Last visited

Community Reputation

0 Neutral
  1. Hi there, I have different kind of items and shipping mode must be based on thickness and weight. The fact is that: thin items can be shipped as letters in bubble enveloppes, larger ones in small parcels and the biggest ones in standard parcels. I was initially planning using the "All In One Shipping" extension, but I cannot see a way to fix a maximal item thickness. So, I wonder if the "Per category" shipping extension would be more suitable in this situation and if it would work if items in the cart belong to different categories. I'm in a small country and there is currently no extension of the dedicated to the national postal service. I have developer skills, so that I could possibly adapt some national postal extension to my country. Another question I have relates to efficient ways to manage dimensions and weight for shipping purposes. For instance if I send a 90 g / 10 mm thick item, a letter allowing 100g / 20 mm is only suitable on the paper. But if the item is fragile, the weight and thickness of packaging, foam and documents would suggest another type of packaging. A priori, I would like to store the exact dimensions and weight of products. I wonder if there is an extension that let me store the allowed dimensions and weight of letters and parcels and reserve some weight and space for packaging and documents. Or if I should simply set enveloppes and parcels with smaller size and weight than allowed. Thank your for your suggestions.
  2. The code to generate the error log was already there (ini-custom.inc.php) but the error log was not created because of server error 500. I ended up installing on a remote host. The shop is hidden behind an index.html file. In the .htaccess, I forbid all trafic excepted, mine based on my IP (where the starts in ***.***.***.*** are replaced by my IPv4 address). order deny,allow deny from all allow from ***.***.***.*** It does the trick.
  3. Thank you bsmither. I tried what you did. The server doesn't crash, but there is error 500 (server error).
  4. Hello, This is my first attempt of running cubecart's 6.2.5 version in xampp for Windows as I want to configure as much as possible on localhost, before migrating to a production server. Because I develop several sites, the files are not directly put in htdocs but in per-site subfolders: D:\xampp\htdocs\first.com D:\xampp\htdocs\second.com D:\xampp\htdocs\cubecart The folder that I created for cubecart is not named "shop" but "cubecart". For installation, I have not navigated to the /setup subfolder, but only the root of the website. However, the installer ran fine. Compatibility checks were OK and the tables were created. For me, cubecart is not running at all and makes the Apache server crash. (Apache asks permission for stopping.) After the reading several threads, here's what I have attempted so far, without success : renamed .htaccess file so that it is no longer used appended the following lines to includes/global.inc.php (...) $glob['cookie_domain'] = '127.0.0.1'; // No trailing slash - BEST to use IP address $glob['storeURL'] = 'http://127.0.0.1/cubecart'; // No trailing slash $glob['standard_url'] = 'http://127.0.0.1/cubecart'; // No trailing slash $glob['ssl_url'] = 'https://127.0.0.1/cubecart'; // No trailing slash $glob['rootRel'] = '/localhost/cubecart/'; // MUST have trailing slash -- use single slash for no path ?> added ini-custom.inc.php in cubecart folder: <?php # Custom initialization commands # Filename: ini-custom.inc.php # File location: main CubeCart folder ini_set('memory_limit', '256M'); ini_set('max_execution_time', '60'); ini_set('error_log', 'error_log'); ini_set('log_errors', 'on'); ?> and checked that it is effectively included at line 162 of ini.inc.php . I identified the crash coming from the last line in index.php (at the root): $GLOBALS['gui']->display('templates/'.$global_template_file); The "display" method seems located in "classes/gui.class.php". This is where I'm stuck. However, I assume the error most probably comes from a server configuration issue. Before disabling the .htaccess file, I also had attempted to set the RewriteBase: <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /localhost/cubecart/ Thank you for your help.
×
×
  • Create New...