Hi
Have followed security advice & set 644 for configure.php files via cpanel & confirmed 644 setting
Refreshed browser emptied cache but demo site still says Warning: I am able to write to the configuration file...
what else could I have wrong?
Hi
Have followed security advice & set 644 for configure.php files via cpanel & confirmed 644 setting
Refreshed browser emptied cache but demo site still says Warning: I am able to write to the configuration file...
what else could I have wrong?
Hi try 444 should fix your problem
There is gona be lots of ?'s i think
Have done as suggested Under Security changing of configure.php files
[Quote]Renaming the "admin" folder makes it much harder for would-be hackers to get into your admin area.
(Before making the following changes, make sure to have a current backup of your files and your database.)
A- Open your admin/includes/configure.php, using a simple text editor like notepad.
Change all instances of /admin/ to your chosen new admin folder-name.
Change this section:
define('DIR_WS_ADMIN', '/admin/');
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_ADMIN', '/admin/');
define('DIR_WS_HTTPS_CATALOG', '/');
And this section:
define('DIR_FS_ADMIN', '/home/mystore.com/www/public/admin/');
define('DIR_FS_CATALOG', '/home/mystore.com/www/public/');
B- Find your Zen Cart /admin/ directory, using your FTP software or your webhost File Manager.
Rename the directory to match the settings you just made in your admin/includes/configure.php.[quote/]
NEXT
To login to your admin system you will now have to visit a new URL that matches the new name used in steps A and B above. For example instead of visiting http://www.example.com/admin/ visit http://www.example.com/NeW_NamE4u/.
and I get
Parse error: syntax error, unexpected T_STRING in /home/--------/public_html/zencart/-----_admin/includes/configure.php on line 29
Which is in this area
* If you desire your *entire* admin to be SSL-protected, make sure you use a "https:" URL for all 4 of the following:
*/
define('HTTP_SERVER', 'http://www.drafting.com.au');
define('HTTPS_SERVER', 'https://www.drafting.com.au');
define('HTTP_CATALOG_SERVER', 'http://www.drafting.com.au');
define('HTTPS_CATALOG_SERVER', 'https://www.drafting.com.au');
// Use secure webserver for catalog module and/or admin areas?
define('ENABLE_SSL_CATALOG', 'false');
define('ENABLE_SSL_ADMIN', 'false');
Is it normal to have this happen
i would suggest look to see that the lines you modified all end with a ";" or that all defines are properly enclose in "''
You may want to look at the sections that you changed .. it may not be line 29 but might the location that you changed Admin to your new name .. make sure everything is correct in those area .
I did it by find & replace
Can you see anything wrong here?
define('DIR_WS_ADMIN', '/zencart/-----_admin/');
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_ADMIN', '/zencart/-----_admin/');
define('DIR_WS_HTTPS_CATALOG', '/');
//the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
define('DIR_FS_ADMIN', '/home/archidra/public_html/zencart/-----_admin/');
define('DIR_FS_CATALOG', '/home/--------/public_html/public/');
The only part i did not see change was the page header
<?php/-----_admin//-----_admin/
/**
Thanks
just to clarify here is the php configure file from the folder named
-----_admin
configure.txt
you have php opening tag in first line of your configure.php with added /-----_admin//.............
remove that line but keep the <?php opening tag .
Thanks
I did change the line entry & have tried several other things via my host to no avail
But seeing it was my first zencart demo (1st mysql 1st cart 1st shop) & there were mysql permission problems at the host end that prevented a clean install & interrupted the zencart install i decided to redo it so am currently working in a new file (not yet changed this part of security) & all seems fine
I appreciate the help from all of you very much & am sure i will need lots more help yet
Ps like setting up Australian freight/postage
Best Regards![]()