admin/backups
Moderator: Staff
16 posts
• Page 1 of 1
admin/backups
Sorry if its been asked before, i am installing zencart on my host to have a play around, and get an error message of admin/backups=unwritable chmod 777 read or writable,,,
ive looked on here (search) and google,, my ftp is filezilla ive learned to change file permissions, and thought thats how to fix it, but when refreshing its still the same,,
also the numeric value was set up as 755, do i need to change that to 777.. many thanks
p.s also says PHP Output Buffering (gzip) = OFF....... Thanks
ive looked on here (search) and google,, my ftp is filezilla ive learned to change file permissions, and thought thats how to fix it, but when refreshing its still the same,,
also the numeric value was set up as 755, do i need to change that to 777.. many thanks
p.s also says PHP Output Buffering (gzip) = OFF....... Thanks
Last edited by Sash on Wed Jul 21, 2010 4:53 pm, edited 1 time in total.
Hi Sash,
You should be able to change file permissions using any FTP software or in your cPanel.
If you are experiencing problems with file permissions not changing you should contact your hosting provider as there maybe an .ini file that you don't have access to that needs amending to give you the adequate permissions to make the permission changes.
Richard
You should be able to change file permissions using any FTP software or in your cPanel.
If you are experiencing problems with file permissions not changing you should contact your hosting provider as there maybe an .ini file that you don't have access to that needs amending to give you the adequate permissions to make the permission changes.
Richard
Hi Richard, i re-read the info to see what i done wrong, i changed all the permissions on the lists that it said, refreshed the page and the error is still there, maybe will go an see what they say as they can access it, cheers..
p.s thanks for the reply via your website, i'll have a play on this zencart,, maybe give you a shout if i cant get it the way i like,,cheers
p.s thanks for the reply via your website, i'll have a play on this zencart,, maybe give you a shout if i cant get it the way i like,,cheers
Last edited by Sash on Wed Jul 21, 2010 6:51 pm, edited 1 time in total.
Spoke to someone from the hosting,,, he couldnt find the admin/backups file, come to think of it, when i installed it, it only said "admin" not admin/backup,, i assumed backup maybe a subcategory underneath , but its seems not.... So my advice from support was,, 2its a third party application so we can offer littlee assistance! 
Sash wrote:Spoke to someone from the hosting,,, he couldnt find the admin/backups file,
There should be one on a standard Zen Cart installation. If you haven't got it then all you need is the following:-
In your admin folder, why not make a folder called 'backups' with CHMOD permission 777
then in that folder create a file called ' index.php ' with CHMOD permission 600
in that file paste the following:-
<?php
//
// +----------------------------------------------------------------------+
// |zen-cart Open Source E-commerce |
// +----------------------------------------------------------------------+
// | Copyright (c) 2003 The zen-cart developers |
// | |
// | http://www.zen-cart.com/index.php |
// | |
// | Portions Copyright (c) 2003 osCommerce |
// +----------------------------------------------------------------------+
// | This source file is subject to version 2.0 of the GPL license, |
// | that is bundled with this package in the file LICENSE, and is |
// | available through the world-wide-web at the following url: |
// | http://www.zen-cart.com/license/2_0.txt. |
// | If you did not receive a copy of the zen-cart license and are unable |
// | to obtain it through the world-wide-web, please send a note to |
// | license@zen-cart.com so we can mail you a copy immediately. |
// +----------------------------------------------------------------------+
// $Id: index.php 1111 2005-04-05 01:51:19Z drbyte $
//
// send to domain root
session_write_close();
header('Location: ' . 'http://' . $_SERVER['HTTP_HOST']);
exit();
?>
Good luck.
Richard
<edited typo>
Last edited by redspell on Wed Jul 21, 2010 7:32 pm, edited 1 time in total.
Do you mean your Zen Cart Admin Area?
Try http://www.yoursite.co.uk/admin/index.php
Replace yoursite.co.uk with your own site url.
Thanks for the yellow
Richard
Try http://www.yoursite.co.uk/admin/index.php
Replace yoursite.co.uk with your own site url.
Thanks for the yellow
Richard
Yea that was the end result "page" when i done it all, but its like "what now" not sure how to get the admin area from that?
Tried it again ,, and page not found 404
configure.php is set to read.write.execute, on owners permission?
I have a cinfigure.php file in the public.html folder... but dont have that file in the seperate admin folder(s). could this be the problem?
Tried it again ,, and page not found 404
configure.php is set to read.write.execute, on owners permission?
I have a cinfigure.php file in the public.html folder... but dont have that file in the seperate admin folder(s). could this be the problem?
Last edited by Sash on Thu Jul 22, 2010 12:26 am, edited 3 times in total.
Sounds as though your tying yourself in knots
Does your host not have an auto installer for zencart?
You should have a configure.php file in both these locations
public_html/includes/configure.php
public_html/admin/includes/configure.php
If you have changed the name of the admin folder when installing then you need to adjust the line above, since you are getting a 404 then it is likely that something is not right with folder names.
<edited to say> you should not have a configure file in the web root i.e. /public_html
Does your host not have an auto installer for zencart?
You should have a configure.php file in both these locations
public_html/includes/configure.php
public_html/admin/includes/configure.php
If you have changed the name of the admin folder when installing then you need to adjust the line above, since you are getting a 404 then it is likely that something is not right with folder names.
<edited to say> you should not have a configure file in the web root i.e. /public_html
Last edited by scotserve on Thu Jul 22, 2010 10:10 am, edited 1 time in total.
Hi thanks for the info, i have looked at the folders you say, i have configure.php in both these locations,, and i have looked at the web root folder and its not in there?
What i have notice that there is a seperate admin folder (with subcatergories) on the server , the public.html etc already has these folders, could it be trying to point to that one instead of the one/s on the public.html....
Dont know how these seperate admin folders got there,,,should i delete that ones??
if yes would it correct itself and point to the correct folder??
Sorry im stubborn and prefer to learn the hard way lol!!!
What i have notice that there is a seperate admin folder (with subcatergories) on the server , the public.html etc already has these folders, could it be trying to point to that one instead of the one/s on the public.html....
Dont know how these seperate admin folders got there,,,should i delete that ones??
if yes would it correct itself and point to the correct folder??
Sorry im stubborn and prefer to learn the hard way lol!!!
Last edited by Sash on Thu Jul 22, 2010 11:29 am, edited 1 time in total.
Had another look around on it, the page now goes back to the installation page,
and it does now say incorrect path for the configure files, as well normal installation stuff but there ok?
Just need a kind person to clarify the above post and whether to delete the other admin folders(as above) which maybe creating the problem,,,
and it does now say incorrect path for the configure files, as well normal installation stuff but there ok?
Just need a kind person to clarify the above post and whether to delete the other admin folders(as above) which maybe creating the problem,,,
Sash,
Your posts are a bit confusing.
How can you have two 'admin' folders?
Your 404 error sounds as if it could be caused by having incorrect settings in your configure.php files.
Look at your admin/includes/configure.php file first and look at this section.
It is this line that you need to ensure is your ABSPATH with /admin/' at the end:-
Chances are if it is incorrect then its the reason you are getting the 404 error
Your posts are a bit confusing.
How can you have two 'admin' folders?
Your 404 error sounds as if it could be caused by having incorrect settings in your configure.php files.
Look at your admin/includes/configure.php file first and look at this section.
define('DIR_WS_ADMIN', '/admin/');
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_ADMIN', '/admin/');
define('DIR_WS_HTTPS_CATALOG', '/');
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/');
define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
define('DIR_WS_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/');
// * DIR_FS_* = Filesystem directories (local/physical)
//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/yoursitename/public_html/admin/');
define('DIR_FS_CATALOG', '/home/yoursitename/public_html/');
It is this line that you need to ensure is your ABSPATH with /admin/' at the end:-
define('DIR_FS_ADMIN', '/home/yoursitename/public_html/admin/');
Chances are if it is incorrect then its the reason you are getting the 404 error
16 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 0 guests







