Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17
  1. #11
    Join Date
    Sep 2008
    Posts
    56
    Plugin Contributions
    0

    Default frustrating. Time for excorcism

    OK. I did what I was supposed to..I believe.

    1. I first did a clean install.
    2. I then downloaded the 2 required config files to my HD Opened them and they have all the correct linking information.
    3. Uploaded the old site
    4 Overwrote the 2 config files. Checked the files on the server and they were as they should be.
    5. tried to open zencart and got the install prompt
    6. tried to open admin area and got.
    Warning: main(DIR_FS_CATALOG_LANGUAGESenglish/meta_tags.php) [function.main]: failed to open stream: No such file or directory in /home/mindbrix/public_html/sites/www.alanaldridge.net/zencart/admin1/includes/languages/english.php on line 50

    Warning: main(DIR_FS_CATALOG_LANGUAGESenglish/meta_tags.php) [function.main]: failed to open stream: No such file or directory in /home/mindbrix/public_html/sites/www.alanaldridge.net/zencart/admin1/includes/languages/english.php on line 50

    Warning: main(DIR_FS_CATALOG_LANGUAGESenglish/meta_tags.php) [function.main]: failed to open stream: No such file or directory in /home/mindbrix/public_html/sites/www.alanaldridge.net/zencart/admin1/includes/languages/english.php on line 50

    Fatal error: main() [function.require]: Failed opening required 'DIR_FS_CATALOG_LANGUAGESenglish/meta_tags.php' (include_path='.:/usr/php4/lib/php:/usr/local/php4/lib/php') in /home/mindbrix/public_html/sites/www.alanaldridge.net/zencart/admin1/includes/languages/english.php on line 50

    THIS IS MY LINE 50 in this file:

    require(DIR_FS_CATALOG_LANGUAGES . $_SESSION['language'] . '/' . $template_dir_select . 'meta_tags.php');

    have no idea what it is looking for

  2. #12
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: frustrating. Time for excorcism

    Sounds like you've probably mixed up your admin version of the configure.php file with the non-admin version. They're different.
    .
    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.

  3. #13
    Join Date
    Sep 2008
    Posts
    56
    Plugin Contributions
    0

    Default about ready to throw in the towel

    Thanks for everyones patience

    I've tried every conceivable plan to transfer this site. I'm on my 6th effort here.

    My final effort was to install the cart fresh. Get the two configs. overwrite the cart and then replace the two configs. I have the Right configs in the correct file. I try to open admin and I still get this

    Code:
    Fatal error: main() [function.require]: Failed opening required '../admin1/includes/application_top.php' (include_path='.:/usr/php4/lib/php:/usr/local/php4/lib/php') in /home/mindbrix/public_html/sites/www.alanaldridge.net/zencart/admin/index.php on line 23
    admin1 was the old folder name on the old server. I changed everything so it points to just admin again.


    On line 23 of the index.php it actually says

    require('../admin/includes/application_top.php');

    I have no idea where it is still looking at admin1?!?!
    there is no reference to admin 1 in any of the congfgs or index.php.


    stumped and frustrated/

  4. #14
    Join Date
    Sep 2008
    Posts
    56
    Plugin Contributions
    0

    Default part of the problem ...I think

    when I change admin 1 to admin in dreamweaver it is supposed to update the links. Apparently it didn't not do them all. I just found refrence to admin 1 in application_top. I guess I'll have to cahnge back to admin1 and change the configs/ or try to hunt down admin 1 in all the files

  5. #15
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: part of the problem ...I think

    Dreamweaver is not smart enough to properly handle all the links in PHP files.
    If you want to use it to rename references to HTML or CSS things, you might meet with moderate success.
    But don't ever use it to auto-rename or update links across PHP files. It's not built for that. It doesn't do it well. That's your problem.

    If you want to rename your admin folder, follow the documented instructions exactly.
    .
    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.

  6. #16
    Join Date
    Sep 2008
    Posts
    56
    Plugin Contributions
    0

    Default Re: server transfer questions about database

    Dreamweaver isn't the only one NOT smart enough to rename. I just did a clean install of Zen and ONLY transfered over my new template so far. I have not overwritten all the files yet as the instructions reccommend.

    The Documentation I found on renaming the admin folder said you only need to deal with the 2 configure.php files. I tried that once and ran into problems with other phps referencing admin1 when I overwrote the whole site.

    I now have the the correct configs saved for the new site. The new site has

    "admin" as the folder

    The old site has "admin1" as the folder. What do I need to change in the admin1 folder before I overwrite to the new server
    ?



    Thanks so much again.

  7. #17
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: server transfer questions about database

    Quote Originally Posted by alwinch View Post
    The Documentation I found on renaming the admin folder said you only need to deal with the 2 configure.php files. I tried that once and ran into problems with other phps referencing admin1 when I overwrote the whole site.
    A clean uncustomized install ONLY mentions the admin foldername in the configure.php files. Nowhere else.
    Thus, if you've got references to "admin" in any include/require statements or anywhere else, those have been made by you, or by your editor software, or by addons you've installed.

    Quote Originally Posted by alwinch View Post
    I now have the the correct configs saved for the new site. The new site has

    "admin" as the folder

    The old site has "admin1" as the folder. What do I need to change in the admin1 folder before I overwrite to the new server
    ?
    As the documentation says, change the references to /admin/ in your new /admin1/includes/configure.php file to be /admin1/ instead.
    And if you've got other paths anywhere else, you'll need to fix those manually, because they're not part of a normal Zen Cart setup.
    .
    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.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Upgrading - questions about database
    By johnga in forum Upgrading to 1.5.x
    Replies: 1
    Last Post: 17 Nov 2011, 12:01 AM
  2. Database transfer - Local test site to live server
    By Rob from Blossom in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 21 Jul 2011, 05:38 AM
  3. Dedicated Server questions about Mailman and IMAP email
    By batteryman in forum General Questions
    Replies: 6
    Last Post: 3 Jul 2009, 12:09 AM
  4. Some images not found after transfer from local server to host server
    By simon1066 in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 1 Apr 2009, 02:48 PM
  5. How do you transfer from a dev WAMP server to a LAMP server?
    By diannev in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 29 Feb 2008, 09:02 AM

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