Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1. #1
    Join Date
    Jun 2009
    Location
    Des Moines, Iowa USA
    Posts
    580
    Plugin Contributions
    0

    Default admin not working, trying to upload store from local to server

    OK
    Can anyone point me to a thread that addresses this -
    I have been working on my site on my computer using th manual. I have been having issues and many have recommended to go on to the www so zenners can see any problems.

    I uploaded my entire program to bluehost.
    Wrong thing to do since there is stuff ther that is not needed.
    BH reset my site and I started with their upload since my took over 5 hours and lots of problems.

    This morning I uploaded just my database with the changed admin file via filezilla. Click and upload.

    can not get into the admin I checked the confige.php file and this is the third change of the file name which troubles me!

    define('DIR_FS_ADMIN', 'C:/xampplite/htdocs/snfcart/*******/');
    define('DIR_FS_CATALOG', 'C:/xampplite/htdocs/snfcart/');


    What did I do incorrectly? suggestions?

    currently my site is the default zen site and not my override site
    www.stitchnframeonline.com TIA

  2. #2
    Join Date
    Oct 2006
    Posts
    624
    Plugin Contributions
    0

    Default Re: admin not working

    Not sure if you've fixed your problem because your store seems to work fine when I access it at http://www.stitchnframeonline.com/

    The contents of your Admin's configure.php file is pointing to a local XAMPP server. Since your store is now on a remote server which runs Linux, you should change the contents of the file to reflect that fact.

    An example would be something like the following if you are installing into the document root directory; alter it to suit your server environment.

    PHP Code:
    define('DIR_FS_ADMIN''/home/xxxx/public_html/admin/');
    define('DIR_FS_CATALOG''/home/xxxx/public_html/'); 
    If you intend to install into a sub-directory (e.g. store) in your document root, then it would be something like this:

    PHP Code:
    define('DIR_FS_ADMIN''/home/xxxx/public_html/store/admin/');
    define('DIR_FS_CATALOG''/home/xxxx/public_html/store/'); 
    Change the text 'xxxx' and the 'admin' folder to suit your server's setup.
    Goh Koon Hoek, author of "e-Start Your Web Store with Zen Cart".
    Printed book: www.lulu.com/content/10576284
    Electronic book and Errata: www.cucumbermedia.com/store

  3. #3
    Join Date
    Jun 2009
    Location
    Des Moines, Iowa USA
    Posts
    580
    Plugin Contributions
    0

    Default Re: admin not working

    good evening canopy

    i did an install of the cart via blue host but have not been able to get access to my custom site. just the zencart - changed the admin but keep getting and 404 error for the installation screen.

  4. #4
    Join Date
    Oct 2006
    Posts
    624
    Plugin Contributions
    0

    Default Re: admin not working

    I think you have already done an automated installation of Zen Cart via BlueHost's custom installer scripts. That explains why you have the 404 error when trying to access "/zc_install".


    Quote Originally Posted by stitchnkitty View Post
    good evening canopy

    i did an install of the cart via blue host but have not been able to get access to my custom site. just the zencart - changed the admin but keep getting and 404 error for the installation screen.
    Goh Koon Hoek, author of "e-Start Your Web Store with Zen Cart".
    Printed book: www.lulu.com/content/10576284
    Electronic book and Errata: www.cucumbermedia.com/store

  5. #5
    Join Date
    Jun 2009
    Location
    Des Moines, Iowa USA
    Posts
    580
    Plugin Contributions
    0

    Default Re: admin not working

    Ok I just got off the phone with Bluehost and yes you are correct I have installed the ZC thru them thinking it would be less difficult then me spending 4 hours uploading all the files - I have found the insturctuction on tutorial to install on live server it is great - and I think I am almost there but there are some glitches that I think I need to fix.
    First some confusion of termology - According to BH the 'database' is only one file that is something like *****.sql . He said all I need to do is to find that file /folder and upload it by the myphpadmin import command. But on the tutorial instructions step 4 says - Create a database on the new server, so that you have a place for you zencart data to be stored.

    Because I had not found that wonderful tutorial before I started - in my myphpadmin the dropdown database is named differently than my database on my computer. BH said that 'database' was not files but tables. And I am going to assume this will be a problem I will need to fix. but how I am not sure.

    Where I thought that my database included all the changes and override files and folders - my master folder where all my customization goes is mystore on my ciomputer. I have uploaded it in the same path as on my computer in the htdocs.
    All my fixes and change of admin is in mystore folder which is not being recognized - this is the only folder I have uploaded after BH preformed the install.
    zc_install is located within this folder.

    TIA

  6. #6
    Join Date
    Jun 2009
    Location
    Des Moines, Iowa USA
    Posts
    580
    Plugin Contributions
    0

    Default Re: admin not working, trying to upload store from local to server

    After inching my way forward for 5 hours- things are coming along.
    I have uploaded the zc via Bluehost - it is an unchanged generic cart.
    I have uploaded my override folders. deleted my htdocs folder.
    applied the securityvpatches and changed the admin name.
    I am currently getting an install screen which is better than before- newadmin screen is not found. Dont know why it is not the other way around since I changed admin name already.
    admin screen shows the same as the .com screen.
    www. stitchnframeonline .com is my site.

    tutorial index=99
    BH created a database during installation. So I am confused a bit on step 6 -
    'Using phpMyAdmin, restor your old site's database into the new database you created. '
    dont really know quite how to do this if it is something that has not already been done by uploading the override folders.

    TIA

  7. #7
    Join Date
    Oct 2006
    Posts
    624
    Plugin Contributions
    0

    Default Re: admin not working, trying to upload store from local to server

    For your particular case, since you are moving from a local computer to a remote host. You need to back up the database on your old computer and restore the database on your host.

    The steps for exporting and importing the database can be found in this Tutorials/FAQs article.
    Goh Koon Hoek, author of "e-Start Your Web Store with Zen Cart".
    Printed book: www.lulu.com/content/10576284
    Electronic book and Errata: www.cucumbermedia.com/store

  8. #8
    Join Date
    Jun 2009
    Location
    Des Moines, Iowa USA
    Posts
    580
    Plugin Contributions
    0

    Default Re: admin not working, trying to upload store from local to server

    ok ran the cache key fix and this is what I had gotten:


    Warning: require(includes/application_top.php) [function.require]: failed to open stream: No such file or directory in /home/xxxxxxx/public_html/admin/backups/fix_cache_key.php on line 65

    Fatal error: require() [function.require]: Failed opening required 'includes/application_top.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxxxxx/public_html/admin/backups/fix_cache_key.php on line 65.


    ????

  9. #9
    Join Date
    Oct 2006
    Posts
    624
    Plugin Contributions
    0

    Default Re: admin not working, trying to upload store from local to server

    According to the instructions for the Fix Cache Key mod, you should put the file "fix_cache_key.php" file where the "index.php" for your Zen Cart store is located.

    For your case, it would mean putting the file into the document root of your server since your Zen Cart store is not located in a sub-directory.

    From the error message you've pasted here, it seems like you placed that file in the wrong directory. Try fixing that and see if things work.
    Goh Koon Hoek, author of "e-Start Your Web Store with Zen Cart".
    Printed book: www.lulu.com/content/10576284
    Electronic book and Errata: www.cucumbermedia.com/store

  10. #10
    Join Date
    Jun 2009
    Location
    Des Moines, Iowa USA
    Posts
    580
    Plugin Contributions
    0

    Default Re: admin not working, trying to upload store from local to server

    makes total sense!

    I did a search for the index.php and found it in the admin; cache; includes/ modules etc.

    I have also tried every combination that I could find to get this to run

    intalled into the cache only - then admin only
    then tried it in both.

    when I ran the cache folder it came up with 403 not authorized to view - so I checked the permissions for the settings there.

    when I ran it in the admin all I got was the zencart screen.

    Rereading the tutorial I have conclude the cache is the one that it needs to be addressed but not having much luck - I am soo sorry for the problem!!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v154 Accessing store via mobile from a local ubuntu server.
    By Stabil in forum General Questions
    Replies: 1
    Last Post: 6 Jul 2015, 04:53 PM
  2. Replies: 0
    Last Post: 6 Aug 2014, 11:14 PM
  3. admin not working after moving from local site to server
    By robertwhitis in forum Installing on a Linux/Unix Server
    Replies: 11
    Last Post: 11 Dec 2011, 06:36 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

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