Forums / Installing on a Linux/Unix Server / admin not working, trying to upload store from local to server

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

Locked

Views: 6,102

Results 1 to 17 of 17
This thread is locked. New replies are disabled.
17 Oct 2009, 2:37 PM
#1
stitchnkitty avatar

stitchnkitty

Totally Zenned

Join Date:
Jun 2009
Location:
Des Moines, Iowa USA
Posts:
618
Plugin Contributions:
0

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
https://www.stitchnframeonline.com TIA

18 Oct 2009, 4:47 AM
#2
canopy avatar

canopy

Totally Zenned

Join Date:
Oct 2006
Posts:
625
Plugin Contributions:
0

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

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.

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
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

18 Oct 2009, 11:04 PM
#3
stitchnkitty avatar

stitchnkitty

Totally Zenned

Join Date:
Jun 2009
Location:
Des Moines, Iowa USA
Posts:
618
Plugin Contributions:
0

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

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.

20 Oct 2009, 4:14 AM
#4
canopy avatar

canopy

Totally Zenned

Join Date:
Oct 2006
Posts:
625
Plugin Contributions:
0

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

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".

stitchnkitty:

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

20 Oct 2009, 2:48 PM
#5
stitchnkitty avatar

stitchnkitty

Totally Zenned

Join Date:
Jun 2009
Location:
Des Moines, Iowa USA
Posts:
618
Plugin Contributions:
0

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

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

21 Oct 2009, 3:20 PM
#6
stitchnkitty avatar

stitchnkitty

Totally Zenned

Join Date:
Jun 2009
Location:
Des Moines, Iowa USA
Posts:
618
Plugin Contributions:
0

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

22 Oct 2009, 5:25 AM
#7
canopy avatar

canopy

Totally Zenned

Join Date:
Oct 2006
Posts:
625
Plugin Contributions:
0

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

22 Oct 2009, 2:23 PM
#8
stitchnkitty avatar

stitchnkitty

Totally Zenned

Join Date:
Jun 2009
Location:
Des Moines, Iowa USA
Posts:
618
Plugin Contributions:
0

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.

????

23 Oct 2009, 5:24 AM
#9
canopy avatar

canopy

Totally Zenned

Join Date:
Oct 2006
Posts:
625
Plugin Contributions:
0

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

23 Oct 2009, 1:31 PM
#10
stitchnkitty avatar

stitchnkitty

Totally Zenned

Join Date:
Jun 2009
Location:
Des Moines, Iowa USA
Posts:
618
Plugin Contributions:
0

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!!

24 Oct 2009, 5:53 AM
#11
canopy avatar

canopy

Totally Zenned

Join Date:
Oct 2006
Posts:
625
Plugin Contributions:
0

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

I'm sorry for not being clearer in my earlier post.

Ok, for your case, since Zen Cart is installed directly into your document root and not a sub-directory, you should place the file "fix_cache_key.php" directly in the document root.

After that, go to http://www.yoursite.com/fix_cache_key.php and you should be done.

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

24 Oct 2009, 6:38 AM
#12
stitchnkitty avatar

stitchnkitty

Totally Zenned

Join Date:
Jun 2009
Location:
Des Moines, Iowa USA
Posts:
618
Plugin Contributions:
0

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

according to instructions it should be with the index.php file.
this would put it in the public_html/cache/fix_cache_key.php

24 Oct 2009, 8:32 AM
#13
stitchnkitty avatar

stitchnkitty

Totally Zenned

Join Date:
Jun 2009
Location:
Des Moines, Iowa USA
Posts:
618
Plugin Contributions:
0

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

OK I have adjusted the location but dont seem to be able to get past the zencart install screen.

24 Oct 2009, 10:03 PM
#14
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

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

Fix_cache_key.php should be put in your /public_html/ folder ... since your Zen Cart store runs from the /public_html/index.php file.

.
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.

24 Oct 2009, 10:04 PM
#15
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

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

stitchnkitty:

OK I have adjusted the location but dont seem to be able to get past the zencart install screen.

That's a rather vague statement.

.
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.

11 Nov 2009, 11:26 AM
#16
yckamigo avatar

yckamigo

New Zenner

Join Date:
Nov 2009
Posts:
1
Plugin Contributions:
0

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

Hi Canopy

I have just installed cart via exabytes host but have not been able to get access to my site. I keep getting the error message such as below:

The requested URL /store was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

I really appreciate you can help me as i'm a newbie do not know anything about programming stuff.

14 Nov 2009, 5:14 AM
#17
canopy avatar

canopy

Totally Zenned

Join Date:
Oct 2006
Posts:
625
Plugin Contributions:
0

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

Sorry. I missed your post. :blush:

Pls create another thread to highlight your problems instead.

Make sure you answer all relevant questions in the Posting Tips section when making your reply. The Posting Tips section appears after you click the Reply button.

Thanks.

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