Zen Cart Logo
Forums / Installing on a Linux/Unix Server / I'm losing my mind... help please!

I'm losing my mind... help please!

Locked

Views: 1,082

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
27 Apr 2010, 8:45 PM
#1
feznizzle avatar

feznizzle

Totally Zenned

Join Date:
Apr 2010
Posts:
900
Plugin Contributions:
0

I'm losing my mind... help please!

I am desperately hoping some kind soul will help me!

I am migrating to Zen from CRE. At the same time I am going from a shared host to VPS.

I spent last week testing a Zen (1.3.8) install on the old host. Among the many mods I added while playing was Backup MySite (v1.f). It was extremely simple, worked beautifully.

Yesterday I did the following on the VPS:

  1. Installed SSL cert - No problem!
  2. Installed ZC 1.3.9a - No problem!
  3. Renamed admin folder - No problem!
  4. Installed mod Backup MySite - BIG PROBLEM!

Upon clicking on the BACKUP button, I received the following error:
File not found
Firefox can't find the file at https://www.mysite.com/adminRENAMED/backup_mysite.php?action=backup

I am extremely anal when it comes to detail. I have retraced my steps a thousand times today. I have checked to be sure the mod files were in the correct directory and verified chmod permissions a dozen times.

I am at my wits end. Please, can anyone help?

Thanks,
Mike

27 Apr 2010, 9:56 PM
#2
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Re: I'm losing my mind... help please!

Is there a conflict with the mod? By that I mean does the mod hardcode the name of the 'admin' folder anywhere within it?
Vger

27 Apr 2010, 10:22 PM
#3
feznizzle avatar

feznizzle

Totally Zenned

Join Date:
Apr 2010
Posts:
900
Plugin Contributions:
0

Re: I'm losing my mind... help please!

Vger, thank you so much for taking the time to reply!

Because you asked, I triple checked again. The admin folder is not referenced directly in any of the code on any file for the mod.

Thanks for the suggestion... I will try anything anybody suggests!

27 Apr 2010, 10:36 PM
#4
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Re: I'm losing my mind... help please!

Sorry - it's because the file is inside the 'admin' folder and you're trying to access it directly via a browser.

This file normally runs via a cron job and the cron job has to include the user name and password if placed within the admin folder.

Vger

27 Apr 2010, 10:53 PM
#5
feznizzle avatar

feznizzle

Totally Zenned

Join Date:
Apr 2010
Posts:
900
Plugin Contributions:
0

Re: I'm losing my mind... help please!

++++
??? I saw a question (zen-cart emailed it to me, i guess before you edited?) regarding chmod. I have it at 755.

Installation instructions say it should be 755 or 777. When I use 777, I cannot even open the Backup mod in admin. I get an error message stating:
Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.
++++

I'm not a programmer, but with regard to needing user/admin info, this mod appears to pick it automatically. Last week I installed it on a practice site almost exactly the same, right down to putting it in a renamed admin folder. No problems.

Here are the things that are different:
• ZC 1.3.9a (instead of 1.3.8)
• Admin is SSL protected (everything else in admin seems to work)
• Different server

12 May 2010, 7:51 AM
#6
susannah avatar

susannah

New Zenner

Join Date:
May 2010
Posts:
3
Plugin Contributions:
0

Re: I'm losing my mind... help please!

hi Feznizzle, i m new here. hope u have catch ur mind now.

12 May 2010, 8:16 AM
#7
jetx avatar

jetx

Zen Follower

Join Date:
Apr 2006
Posts:
425
Plugin Contributions:
0

Re: I'm losing my mind... help please!

If you don't have any luck getting this going via cron you might consider a 3rd party app which can backup your entire vps. I've mine running through Windows Task Scheduler, so does the backups (websites usally weekly, databases several times a day) via https. If you have trouble locating one, message me and I'll send you a link to the one I use.

12 May 2010, 12:17 PM
#8
feznizzle avatar

feznizzle

Totally Zenned

Join Date:
Apr 2010
Posts:
900
Plugin Contributions:
0

Re: I'm losing my mind... help please!

Hi Susannah,

No, I did not catch my mind yet. I think I decided I'm better off without it. :wacko:

:laugh:
+++++++++++

Hi Jetx,

The reason I liked that mod was more for instant need. Say I want to try a new template or install a new mod. This is what I'd do:

  1. Use Backup mySQL to backup db into a folder on the site
  2. Use Backup MySite to zip and download the pub_html folder.
  3. Then install whatever mod.

If the the mod or template didn't work out, then it would only take a couple minutes to erase the entire site and reinstall from backup.

Thanks for the suggestions. My VPS backs up automatically once a week. I like how you have your db backing up several times a times a day.... great idea, I'll look at that.

12 May 2010, 12:30 PM
#9
feznizzle avatar

feznizzle

Totally Zenned

Join Date:
Apr 2010
Posts:
900
Plugin Contributions:
0

Re: I'm losing my mind... help please!

Here is an update in case somebody comes in with the same problem. This mod (Backup mysite php files) DOES NOT WORK with the latest version of Zen.

Here is a good thread that lists mods that have been tested on zen cart version 1.3.9a/b.

In case you are looking for a work around, you should probably get used to File Manager in you cpanel. It's a great program, sometimes more effective than your FTP client.

The bummer is that it takes an extra login and a couple more clicks to get to the right place.

This is what I do:

  1. Back up my db using Backup MySQL mod.
  2. Open cpanel
  3. Open File Manager
  4. Navigate to store folder
  5. Zip up contents

Super easy, only adds about 45 seconds to the backup process.