Highly unlikely that that's a safe change. No writable directory on your server should ever be directly referred to in an http URL. That's a security mess waiting to happen.
It would be better to to use '/home/your_username/public_html/cache/' or whatever the complete path for DIR_FS_SQL_CACHE is in your /includes/configure.php file.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
So I was able to use Zen Cart fine then uploaded this template. The front end shows fine but the admin area wont load i get error
WARNING: An Error occurred, please refresh the page and try again.
All forms of refresh and using a different pc also didn't help.
I checked the error log and got
[08-Jan-2015 19:49:27 America/Detroit] PHP Fatal error: 1050:Table 'zen_hide_categories' already exists :: RENAME TABLE hide_categories TO zen_hide_categories ==> (as called by) /home/bienville/public_html/cart/zcadmin/includes/installers/tableau/1_3_2.php on line 3 <== in /home/bienville/public_html/cart/includes/classes/db/mysql/query_factory.php on line 155
When I check the 1_3_2.php line 3
$db->Execute("RENAME TABLE hide_categories TO ". TABLE_HIDDEN_CATEGORIES);
Does anyone have any ideas.
Please
Hello,
I'm adding images to the "about us" page. Where do I need to upload the image files?
Thanks!
This one was also something that happened to me. I solved it as follows (updated from page 19 this thread).
1. Open admin\includes\installers\tableau\1_3_2.php in a txt editor.
2. Comment out (//) line 2 & then delete line 22 (only a curly brace } on this line) then save and upload the file.
Worked for me. I don't know if this has any negative impact elsewhere but it solves my issue with no apparent affect. My template installed correctly up to current version 1.3.4 and appears fine. Maybe an expert might be able to advise.
I hope this helped.
Hi Ray,
Posts #191 to #195 cover this, but I suggest creating your twitter api in their developer centre and then pasting the keys as described into twitter/index.php lines 27,30,33 & 36.
The final bit is the writable cache. Not mentioned much in the installation instructions it might need changing also. This is:
twitter/index.php line 48 needs to be changed. Example below.
Changed from:
// Path to writable cache directory
private $cache_dir = './';
Changed to:
// Path to writable cache directory
private $cache_dir = '/home/examplename/public_html/cache/';
To find the correct path refer to "DIR_FS_SQL_CACHE" in your /includes/configure.php
Hope that helps.![]()