Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Jul 2011
    Posts
    10
    Plugin Contributions
    0

    Default Configure.php major problem

    Hello,

    I really struggling at the moment and was wondering if anyone would be able to give me a bit of help or point me in the right direction. This is my first time designing my site using Zencart so I have been learning as I go. I have managed to figure out most issues by searcing posts etc. My I am now stumped. I have finally gone live with my site and moved the files for my template to the main Public_html directory I changed the configure.php files but I know I have done them wrong and cannot figure out how to do it right. So at the moment if you go to my site www.amagicalday.co.uk you see all the writing and no template or images etc. I am also unable to access my Admin site. Any help would be greatly appreciated, I am a bit frustrated and cannot think straight at the moment.

    Here is what I have in my files:

    This what I have in my includes/configure.php directory define('HTTP_SERVER', 'http://www.amagicalday.co.uk');
    define('HTTPS_SERVER', 'https://www.amagicalday.co.uk');
    define('DIR_FS_CATALOG', '/home/amagical/public_html/');
    define('DIR_FS_SQL_CACHE', '/home/amagical/public_html/cache');


    This is what I have in my admin/includes/configure.php define('HTTP_SERVER', 'http://www.amagicalday.co.uk');
    define('HTTPS_SERVER', 'https://www.amagicalday.co.uk');
    define('HTTP_CATALOG_SERVER', 'http://www.amagicalday.co.uk');
    define('HTTPS_CATALOG_SERVER', 'https://www.amagicalday.co.uk');
    define('DIR_WS_ADMIN', '/my_admin/');
    define('DIR_WS_CATALOG', '/home/amagical/public_html/');
    define('DIR_WS_HTTPS_ADMIN', '/my_admin/');
    define('DIR_WS_HTTPS_CATALOG', '/home/amagical/public_html/');
    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/');
    define('DIR_FS_ADMIN', '/home/amagical/public_html/my_admin/');
    define('DIR_FS_CATALOG', '/home/amagical/public_html/');
    define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
    define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
    define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
    define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/');
    define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
    define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
    define('DIR_FS_SQL_CACHE', '/home/amagical/public_html/cache');


    Thanks again in advance
    Teka

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    18,041
    Plugin Contributions
    1

    Default Re: Configure.php major problem

    define('DIR_WS_ADMIN', '/my_admin/');
    define('DIR_WS_CATALOG', '/home/amagical/public_html/');
    define('DIR_WS_HTTPS_ADMIN', '/my_admin/');
    define('DIR_WS_HTTPS_CATALOG', '/home/amagical/public_html/');

    These should be just '/' .

  3. #3
    Join Date
    Jul 2011
    Posts
    10
    Plugin Contributions
    0

    Default Re: Configure.php major problem

    OMG!!! Thank you sooooo much that worked!!!! You have made my night!!

  4. #4
    Join Date
    Jul 2011
    Posts
    10
    Plugin Contributions
    0

    Default Re: Configure.php major problem

    Quote Originally Posted by stevesh View Post
    define('DIR_WS_ADMIN', '/my_admin/');
    define('DIR_WS_CATALOG', '/home/amagical/public_html/');
    define('DIR_WS_HTTPS_ADMIN', '/my_admin/');
    define('DIR_WS_HTTPS_CATALOG', '/home/amagical/public_html/');

    These should be just '/' .
    Quote Originally Posted by Cardbean5 View Post
    OMG!!! Thank you sooooo much that worked!!!! You have made my night!!
    Oh dear! I think i celebrated a bit too early. I can't seem to get to my admin site. It is showing the "Thank you for loading Zen Cart"

    Is there anything else I could have missed?

    I also noticed this line is in the admin/includes/configure.php and not in the includes/configure.php. Should it be in both files?

    define('DIR_FS_ADMIN', '/home/amagical/public_html/my_admin/');

    Thanks again!

  5. #5
    Join Date
    Jul 2011
    Posts
    10
    Plugin Contributions
    0

    Default Unable to access Admin Site - Need help with debug error

    Hello,

    I am unable to access my Admin site at the moment. I keep getting a 500 error. I just made the site live and changed config.php settings to redirect to new directory. I was able to access it, but wasn't able to access my site due to wrong config.php settings so I was told how to correct them. This worked and my site is up and running however now that I have checked the admin site I cannot access it anymore. I don't know what I could have done wrong.

    I have checked the debug log and this is what it says. I have no idea where to go from here as I am very new to this. I have tried searching but no luck as yet. If anyone can help I would be very greatful.

    [04-Sep-2011 12:23:32] PHP Warning: require(/home/amagical/public_html/languages/english/meta_tags.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/amagical/public_html/my_admin/includes/languages/english.php on line 54
    [04-Sep-2011 12:23:32] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required '/home/amagical/public_html/languages/english/meta_tags.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/amagical/public_html/my_admin/includes/languages/english.php on line 54

    This is what is on line 54 of /home/amagical/public_html/my_admin/includes/languages/english.php
    require(DIR_FS_CATALOG_LANGUAGES . $_SESSION['language'] . '/' . $template_dir_select . 'meta_tags.php');

    This is what I have in my config.php files if this helps any.


    INCLUDES/CONFIGURE.PHPdefine('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');

    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_INCLUDES', 'includes/');
    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_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
    define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');

    define('DIR_WS_PHPBB', '/');
    define('DIR_FS_CATALOG', '/home/amagical/public_html/');

    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
    define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
    define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/');
    define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
    define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
    define('DIR_FS_SQL_CACHE', '/home/amagical/public_html/cache');

    MY_ADMIN/INCLUDES
    define('DIR_WS_ADMIN', '/');
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_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/');
    define('DIR_FS_ADMIN', '/home/amagical/public_html/my_admin/');
    define('DIR_FS_CATALOG', '/home/amagical/public_html/');

    define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'languages/');
    define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
    define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'modules/');
    define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'templates/');
    define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
    define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
    define('DIR_FS_SQL_CACHE', '/home/amagical/public_html/cache');


    Teka

  6. #6
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    18,041
    Plugin Contributions
    1

    Default Re: Configure.php major problem

    No, that line doesn't appear in the store configure file.

    Almost every time you see that install message, it means the path information is wrong. Maybe copy and paste the current contents of admin/includes/configure.php into a post again (changing the name of your new admin folder, as before) and we may be able to see something, like a forgotten single quote or something.

  7. #7
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    18,041
    Plugin Contributions
    1

    Default Re: Unable to access Admin Site - Need help with debug error

    I don't know about your current error, but when I advised in your other post about changing these to '/', I meant the ones in red:

    define('DIR_WS_ADMIN', '/');
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_ADMIN', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');

    The other two should be '/YOUR_ADMIN_FOLDER_NAME/'

    Monochrome monitor ?

  8. #8
    Join Date
    Jul 2011
    Posts
    10
    Plugin Contributions
    0

    Default Re: Unable to access Admin Site - Need help with debug error

    Quote Originally Posted by stevesh View Post
    I don't know about your current error, but when I advised in your other post about changing these to '/', I meant the ones in red:

    define('DIR_WS_ADMIN', '/');
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_ADMIN', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');

    The other two should be '/YOUR_ADMIN_FOLDER_NAME/'

    Monochrome monitor ?
    How sill am I that was my initial thought but then i second guessed myself and thought maybe you meant all 4 since you cpoied them all.

    I corrected that, but still getting the above 500 error.

  9. #9
    Join Date
    Jul 2011
    Posts
    10
    Plugin Contributions
    0

    Default Re: Configure.php major problem

    Quote Originally Posted by stevesh View Post
    No, that line doesn't appear in the store configure file.

    Almost every time you see that install message, it means the path information is wrong. Maybe copy and paste the current contents of admin/includes/configure.php into a post again (changing the name of your new admin folder, as before) and we may be able to see something, like a forgotten single quote or something.
    Thanks Stevesh!

    Here is all the info...however as you may know I have a 500 error on the page now. I am so desperate at the moment I have my site up and running and cannot manage it at all. I have quite a few changes I needed to make as well.

    This is what my config.php files look like now:
    INCLUDES/CONFIGURE.PHPdefine('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');

    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_INCLUDES', 'includes/');
    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_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
    define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');

    define('DIR_WS_PHPBB', '/');
    define('DIR_FS_CATALOG', '/home/amagical/public_html/');

    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
    define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
    define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/');
    define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
    define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
    define('DIR_FS_SQL_CACHE', '/home/amagical/public_html/cache');

    MY_ADMIN/INCLUDES
    define('DIR_WS_ADMIN', '/my_admin/');
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_ADMIN', '/my_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/');
    define('DIR_FS_ADMIN', '/home/amagical/public_html/my_admin/');
    define('DIR_FS_CATALOG', '/home/amagical/public_html/');

    define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'languages/');
    define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
    define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'modules/');
    define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'templates/');
    define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
    define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
    define('DIR_FS_SQL_CACHE', '/home/amagical/public_html/cache');


    This is the debug code that I am getting and have no clue what to do with it.

    [04-Sep-2011 12:23:32] PHP Warning: require(/home/amagical/public_html/languages/english/meta_tags.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/amagical/public_html/my_admin/includes/languages/english.php on line 54
    [04-Sep-2011 12:23:32] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required '/home/amagical/public_html/languages/english/meta_tags.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/amagical/public_html/my_admin/includes/languages/english.php on line 54

    This is what is on line 54 of /home/amagical/public_html/my_admin/includes/languages/english.php
    require(DIR_FS_CATALOG_LANGUAGES . $_SESSION['language'] . '/' . $template_dir_select . 'meta_tags.php');

    I am very grateful for any help or direction.

  10. #10
    Join Date
    Jun 2003
    Posts
    33,825
    Plugin Contributions
    0

    Default Re: Configure.php major problem

    Moderator's note - merged the 2 thread on the same subject together.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Major problem
    By c1lonewolf in forum General Questions
    Replies: 5
    Last Post: 19 Feb 2010, 01:28 AM
  2. Major Problem! : [
    By DieuxSoldat_04 in forum General Questions
    Replies: 3
    Last Post: 26 Aug 2008, 11:51 PM
  3. Major Problem
    By CnTGifts in forum General Questions
    Replies: 2
    Last Post: 2 Apr 2008, 09:23 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •