Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 35
  1. #21
    Join Date
    Mar 2008
    Posts
    73
    Plugin Contributions
    0

    Default Re: renaming directory folder

    Okay. I think I got all the sensitive stuff ****'d out.


    /*************** NOTE: This file is similar, but DIFFERENT from the "store" version of configure.php. ***********/
    /*************** The 2 files should be kept separate and not used to overwrite each other. ***********/

    // Define the webserver and path parameters
    // Main webserver: eg-http://www.your_domain.com -
    // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
    // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
    // HTTP_CATALOG_SERVER is your Main webserver: eg-http://www.your_domain.com
    // HTTPS_CATALOG_SERVER is your Secure webserver: eg-https://www.your_domain.com
    /*
    * URLs for your site will be built via:
    * HTTP_SERVER plus DIR_WS_ADMIN or
    * HTTPS_SERVER plus DIR_WS_HTTPS_ADMIN or
    * HTTP_SERVER plus DIR_WS_CATALOG or
    * HTTPS_SERVER plus DIR_WS_HTTPS_CATALOG
    * ...depending on your system configuration settings
    *
    * 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://dancingtothespiritofthewood.com');
    define('HTTPS_SERVER', 'https://dancingtothespiritofthewood.com');
    define('HTTP_CATALOG_SERVER', 'http://dancingtothespiritofthewood.com');
    define('HTTPS_CATALOG_SERVER', 'https://dancingtothespiritofthewood.com');

    // Use secure webserver for catalog module and/or admin areas?
    define('ENABLE_SSL_CATALOG', 'true');
    define('ENABLE_SSL_ADMIN', 'true');

    // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
    // * DIR_WS_* = Webserver directories (virtual/URL)
    // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
    define('DIR_WS_ADMIN', '/secret admin/');
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_ADMIN', '/secret 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/danci18/public_html/secret admin/');
    define('DIR_FS_CATALOG', '/home/danci18/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 our database connection
    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', 'zen_');
    define('DB_SERVER', 'localhost');
    define('DB_SERVER_USERNAME', '*****');
    define('DB_SERVER_PASSWORD', '********');
    define('DB_DATABASE', *****');
    define('USE_PCONNECT', 'false'); // use persistent connections?
    define('STORE_SESSIONS', 'db'); // use 'db' for best support, or '' for file-based storage

    // The next 2 "defines" are for SQL cache support.
    // For SQL_CACHE_METHOD, you can select from: none, database, or file
    // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache
    // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
    // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash
    define('SQL_CACHE_METHOD', 'database');
    define('DIR_FS_SQL_CACHE', '/home/danci18/public_html/cache');

    // EOF

  2. #22
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: renaming directory folder

    I am not seeing anything obviously wrong with that file ...

    If you have not installed this Addon from the Plugins already, why don't you do so now:
    http://www.zen-cart.com/downloads.php?do=file&id=606

    then, try to use your Admin and look in the debug directory for your site:
    /cache

    and refresh it in your FTP program and see if there are any mydebug logs generated ...

    If so, post the contents here ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #23
    Join Date
    Mar 2008
    Posts
    73
    Plugin Contributions
    0

    Default Re: renaming directory folder

    Sorry I'm so slow...it took me a while to figure out how to do this. I've successfully downloaded the plug in; I tried to access the "edit" panel from the Admin>Sessions and got the same error message. Checking the /cache debugging log, I got a LONG list of basically the same messages (lines 1 -2750):

    either:



    [23-Feb-2014 10:45:24 America/Los_Angeles] PHP Deprecated: Function ereg() is deprecated in /home/danci18/public_html/includes/classes/db/mysql/query_factory.php on line 177

    [NOTE: " on line number ..." changes from : 177 to 412 at line 25 in the debug log, but remainder of message is the same]

    AND

    [23-Feb-2014 10:45:24 America/Los_Angeles] PHP Deprecated: Assigning the return value of new by reference is deprecated in /home/danci18/public_html/includes/functions/functions_email.php on line 161

    AND

    [23-Feb-2014 10:45:24 America/Los_Angeles] PHP Deprecated: Function ereg_replace() is deprecated in /home/danci18/public_html/includes/functions/sessions.php on line 112

  4. #24
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: renaming directory folder

    Did your hosting provider recently update to a new version of php?

    Other than trying to move from a subdirectory to the root ... have you added any new files?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #25
    Join Date
    Mar 2008
    Posts
    73
    Plugin Contributions
    0

    Default Re: renaming directory folder

    If the host updated to a new version of php we were not notified (the website owner nor myself). According to the host, it's PHP version 5.3.27.

    No new files have been added as far as I know. Looks like the last change other than this current situation was a product upload 1/15/14.

  6. #26
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: renaming directory folder

    While it is probably easier to upgrade your site than to try applying all of the fixes for v1.3.8 to work with php 5.3, you could look through these ...
    http://www.zen-cart.com/showthread.p...t-for-v1-3-8-a
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  7. #27
    Join Date
    Mar 2008
    Posts
    73
    Plugin Contributions
    0

    Default Re: renaming directory folder

    I have already applied the zc138a-php53patch. The PHP was updated in August of 2012 and the site was working. (I don't know enough to know if this is useful info or not).

    Should I re-install/customize the files as indicated?

    Important question: should I even try to do the upgrade to the current version if I've got this problem with admin going on? Since I can't access anything from admin, will upgrading at this point cause even more problems? (You probably can't answer that easily, but I'm so concerned about making this site unavailable/inaccessible.)

    Would it really be easier to just upgrade? really? : >)

    If I've not said it before--thank you so much for your patience and help. I'm learning a lot!

  8. #28
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: renaming directory folder

    From what I can see ... you do not appear to have a lot of customization ... so you tell us? What addons or customizations do you have?

    I see you are using the Classic Template ... but did you make any customizations to it?

    As to your Admin being broken ... if you are getting errors that sound like php 5.3 issues then you need to fix one thing or another to get into your Admin ... maybe you had something that made your site php 5.2 when in a subdirectory? Maybe you had something your host did to make your site run as php v5.2 and you did not know it when in a subdirectory?

    Maybe php go changed to php 5.3 in the last few days and you didn't see it happen?

    Maybe you missed some of the php 5.3 fixes and are only seeing the issue now?

    It really depends on how you want to do it ...

    A simple test is install Zen Cart v1.3.9h or v1.5.0 into a working or test subdirectory with the demo products loaded into a new database and make sure it works ...

    Then, try copying your v1.3.8 database to your NEW database and try running the Upgrade on it and see if it works ...

    If running the upgrade on your site in the working or test subdirectory is in fact working ... then you just need to do a really upgrade with the real files and move your current site into an /oldv138 directory and your working or test subdirectory into the root ...

    But I would take the time to read the docs on how to do an upgrade etc. and practice it a few times ...

    REMEMBER: Backups are your friend ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  9. #29
    Join Date
    Mar 2008
    Posts
    73
    Plugin Contributions
    0

    Default Re: renaming directory folder

    Wow. That's a lot of info and questions and I don't know if I can find answers to all of them. Let me look things over and see what I can find and do. At least, thanks to your help, the configure.php files are correct.

    As far as I can tell, there are no customizations to the Classic Template, other than not having some of the features turned on, and the right hand sidebox turned off. (Are those customizations? Are you sighing in dismay?!!!!) The only add on I know of is the paypal module which was just installed a couple weeks ago.

    I don't know what php go is, but I do know that the host went to 5.3 in August of 2012, and the 5.3 patch was installed in October 2012.

    I'll get to work and see what I can do with an upgrade/test site. Thanks again for your help.

  10. #30
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: renaming directory folder

    Practice is the key ...

    Keep in mind, you can make lots of subdirectories with different versions of Zen Cart and their own databases and put a copy of your database in them and practice upgrades and such until you have it perfect ...

    Then, practice an upgrade to your test site and test how long it takes to do an upgrade where all you need to do is copy your Live database to your test database and run the Upgrade and then run the "extra" things to get it all working 100% prior to a real upgrade of the Live site and Live database ...

    There are a number of things that should be done and practicing is what makes it easy and less scary the first zillon times ... and backups of the files and database are what make it a lot safer ...

    So don't feel like a dummy ... we all have had to do this before and we all sweat it a little to a lot when we have to do it ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 
Page 3 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. v151 Renaming Admin Directory
    By CarLile in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 15 Mar 2013, 01:59 PM
  2. Renaming the zencart directory.
    By Jeffries Productions in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 24 Sep 2009, 11:25 AM
  3. Renaming Folder
    By Moneyca in forum General Questions
    Replies: 2
    Last Post: 19 Nov 2008, 08:20 PM
  4. Renaming directory
    By Decostyle in forum General Questions
    Replies: 7
    Last Post: 23 Apr 2008, 03:59 PM
  5. Problem renaming admin directory!
    By IronMan101 in forum General Questions
    Replies: 2
    Last Post: 15 Jul 2007, 08:34 AM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR