Upgrading

Locked

Started by elluscientdotcom on 11 May 2006, 2:52 AM · Views: 6,756

Results 1 to 20 of 21
This thread is locked. New replies are disabled.
11 May 2006, 3:10 AM
#2
tim_b avatar

tim_b

New Zenner

Join Date:
Sep 2004
Location:
Coming soon to a location near you
Posts:
38
Plugin Contributions:
0

Re: Upgrading

I've tried upgrading without success. The Database Setup step I keeps resetting the includes/config file back to 644. I can't figure out why. I reset the file to 777, and they stay at 777 until I click the save button on the setup page.

Do I have to have the zen-cart-v1.3.0.1-full-fileset folder in the same directory as the shop I'm setting up?

I'm completely lost on upgrading. I can do a full install just fine.

Help!!

Outside a dog, a book is a man's best friend.
Inside a dog, it's too dark to read.
Groucho Marx

11 May 2006, 3:16 AM
#3
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Upgrading

NOTE: if you set the configure.php files to 777 then upload a copy via FTP ... they will reset to 644

We do not change the permissions on your site ... only you do ...

Are you sure that when you set the permissions that they are really changing? Some hosting sites do not give you control over your own site ... go figure?:blink:

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

11 May 2006, 4:36 AM
#4
tim_b avatar

tim_b

New Zenner

Join Date:
Sep 2004
Location:
Coming soon to a location near you
Posts:
38
Plugin Contributions:
0

Re: Upgrading

I'm not uploading them, just setting them on the server.

I thought at first it was the server restricting permission too so I set them, logged off, logged back on and they were still set to 777. They stay at 777 until I click SAVE on the Database setup page.

I've used cpanel to set them and core FTP lite (not FTPing them, just accessing them remotely and setting the properties.)

I can do an install without problems it's only an upgrade.

Outside a dog, a book is a man's best friend.
Inside a dog, it's too dark to read.
Groucho Marx

11 May 2006, 8:17 AM
#5
sabastina avatar

sabastina

New Zenner

Join Date:
Nov 2005
Posts:
72
Plugin Contributions:
0

Re: Upgrading

"setting them on the server" is uploading them.

The reason you are having this issue is likely because when you are installing your system may be making changes to that file - likely the saving your database is a mere coincidence. This happens to me all the time with the sites I run.

Many hosting companies recently have removed the users ability to change permissions using an ftp client. This means that you HAVE to change the permissions in the file manager in your CP. If you do ANYTHING to the file through your ftp (meaning any type of changes, replacements or transfers of that file) you MUST go into your Cp to change the permissions.

I run my sites on my own reseller space, and still do not have the ability to use the ftp to change my permissions, this is done by my host for security reasons.

If you are still having problems doing it the way I've suggested, contact your host and ask them if you have the rights to change file permissions.

sabastina

11 May 2006, 11:23 PM
#7
tim_b avatar

tim_b

New Zenner

Join Date:
Sep 2004
Location:
Coming soon to a location near you
Posts:
38
Plugin Contributions:
0

Re: Upgrading

I used cpanel the first 10 times I tried it. Clicking save reverts them to 644. Could it be reverting the permissions when it tries to write the file, basing it on the directory permissions?

Outside a dog, a book is a man's best friend.
Inside a dog, it's too dark to read.
Groucho Marx

12 May 2006, 12:31 AM
#8
sabastina avatar

sabastina

New Zenner

Join Date:
Nov 2005
Posts:
72
Plugin Contributions:
0

Re: Upgrading

OK, lets clarify all this so that we are sure we're on the same page.

I used cpanel the first 10 times I tried it.

I am assuming that you followed these steps exactly in doing this?

  1. Go into your Cpanel.

  2. click on file manager

  3. navigate through your files to the file you wish to set permissions.

  4. click on that file to bring up the permissions list

  5. click on the permissions you need and then click save.

Is this what you did exactly in this order?

Because if it IS then you need to ask your host why you can't set permissions.

Could it be reverting the permissions when it tries to write the file, basing it on the directory permissions?

The reason you are having this issue is likely because when you are installing your system may be making changes to that file

Yes.

However, You should still be able to use the method I described above to change the permissions. If you are unable to do that then something is wrong at the server level and you need to contact your host.

sabastina

12 May 2006, 12:44 AM
#9
frazzled avatar

frazzled

New Zenner

Join Date:
Oct 2005
Posts:
8
Plugin Contributions:
0

Re: Upgrading

I have had problems with cpanel resetting to 644. The only way around is opening your ftp program and changing the permissions that way. Then they stick for sure. Seems to be a cpanel glitch for the past year.

12 May 2006, 1:21 AM
#10
tim_b avatar

tim_b

New Zenner

Join Date:
Sep 2004
Location:
Coming soon to a location near you
Posts:
38
Plugin Contributions:
0

Re: Upgrading

Yup, exactly that order. They stay 777 until the installer acts on them. The server must prevent some files from being edited.

I've tried FTP clients, cpanel file manager, everything.

I'm wondering if it isn't PHP 5 or something.

I've put in a ticket to my host to see what they say.

Outside a dog, a book is a man's best friend.
Inside a dog, it's too dark to read.
Groucho Marx

12 May 2006, 1:29 AM
#11
sabastina avatar

sabastina

New Zenner

Join Date:
Nov 2005
Posts:
72
Plugin Contributions:
0

Re: Upgrading

ahhh you may need to set permissions at 444...instead

12 May 2006, 2:07 AM
#12
tim_b avatar

tim_b

New Zenner

Join Date:
Sep 2004
Location:
Coming soon to a location near you
Posts:
38
Plugin Contributions:
0

Re: Upgrading

444 gives me a boatload of errors.

Warning: fopen(/home/potnut/public_html/upickpottery/shop/includes/configure.php) [function.fopen]: failed to open stream: Permission denied in /home/potnut/public_html/upickpottery/shop/zen-cart-v1.3.0.1-full-fileset/zc_install/includes/modules/pages/database_setup/header_php.php on line 74

Warning: fputs(): supplied argument is not a valid stream resource in /home/potnut/public_html/upickpottery/shop/zen-cart-v1.3.0.1-full-fileset/zc_install/includes/modules/pages/database_setup/header_php.php on line 75

Warning: fclose(): supplied argument is not a valid stream resource in /home/potnut/public_html/upickpottery/shop/zen-cart-v1.3.0.1-full-fileset/zc_install/includes/modules/pages/database_setup/header_php.php on line 76

Warning: fopen(/home/potnut/public_html/upickpottery/shop/admin/includes/configure.php) [function.fopen]: failed to open stream: Permission denied in /home/potnut/public_html/upickpottery/shop/zen-cart-v1.3.0.1-full-fileset/zc_install/includes/modules/pages/database_setup/header_php.php on line 80

Warning: fputs(): supplied argument is not a valid stream resource in /home/potnut/public_html/upickpottery/shop/zen-cart-v1.3.0.1-full-fileset/zc_install/includes/modules/pages/database_setup/header_php.php on line 81

Warning: fclose(): supplied argument is not a valid stream resource in /home/potnut/public_html/upickpottery/shop/zen-cart-v1.3.0.1-full-fileset/zc_install/includes/modules/pages/database_setup/header_php.php on line 82

Outside a dog, a book is a man's best friend.
Inside a dog, it's too dark to read.
Groucho Marx

12 May 2006, 2:11 AM
#13
tim_b avatar

tim_b

New Zenner

Join Date:
Sep 2004
Location:
Coming soon to a location near you
Posts:
38
Plugin Contributions:
0

Re: Upgrading

Reply from ace-host is

The server does not change your settings, and no script on the server will run as 777. All 777 scripts will return a 500 error through a browser as SuEXEC, a security measure we have in place, will not allow 777 scripts to run.

Outside a dog, a book is a man's best friend.
Inside a dog, it's too dark to read.
Groucho Marx

12 May 2006, 2:46 AM
#14
tim_b avatar

tim_b

New Zenner

Join Date:
Sep 2004
Location:
Coming soon to a location near you
Posts:
38
Plugin Contributions:
0

Re: Upgrading

755 doesn't work either.

Outside a dog, a book is a man's best friend.
Inside a dog, it's too dark to read.
Groucho Marx

12 May 2006, 4:29 AM
#15
tim_b avatar

tim_b

New Zenner

Join Date:
Sep 2004
Location:
Coming soon to a location near you
Posts:
38
Plugin Contributions:
0

Re: Upgrading

the techs over at ace-host have set all my files with the proper permissions and zencart still fails to get past the database save.

I think it has to be a PHP 5 issue, but I'm so green I croak.

Outside a dog, a book is a man's best friend.
Inside a dog, it's too dark to read.
Groucho Marx

12 May 2006, 5:55 AM
#16
sabastina avatar

sabastina

New Zenner

Join Date:
Nov 2005
Posts:
72
Plugin Contributions:
0

Re: Upgrading

ok, they host my reseller space...so I know what you're working with...give me a bit to trouble shoot this and I'll post back here letting you know what I've found out.

I'll post back here one way or another soon ok?

Sabastina

12 May 2006, 6:09 AM
#17
sabastina avatar

sabastina

New Zenner

Join Date:
Nov 2005
Posts:
72
Plugin Contributions:
0

Re: Upgrading

I think I see a serious issue here, please DO NOT do ANYTHING Until you answer at least my first question!!!!

Sabastina

12 May 2006, 6:23 AM
#18
sabastina avatar

sabastina

New Zenner

Join Date:
Nov 2005
Posts:
72
Plugin Contributions:
0

Re: Upgrading

Bah, I was trying to edit a post that I left and ended up with only the last part of the post being listed. I didn't want you to get your install in trouble.

I know what the issue is here...

  1. delete the full file upgrade that you have on your server.

go get the zen-cart-v1.3.0.1-changed_files_only.zip

  1. open it and put all the files that are INSIDE the outside zen-cart-v1.3.0.1-changed-files-only folder into your shop files.

  2. Run the install and just before you start, set the permissions on your configure to 755.

this should have you up and running in a matter of minutes.

sabastina

12 May 2006, 12:53 PM
#19
tim_b avatar

tim_b

New Zenner

Join Date:
Sep 2004
Location:
Coming soon to a location near you
Posts:
38
Plugin Contributions:
0

Re: Upgrading

sabastina:

Bah, I was trying to edit a post that I left and ended up with only the last part of the post being listed. I didn't want you to get your install in trouble.

I know what the issue is here...

  1. delete the full file upgrade that you have on your server.

go get the zen-cart-v1.3.0.1-changed_files_only.zip

  1. open it and put all the files that are INSIDE the outside zen-cart-v1.3.0.1-changed-files-only folder into your shop files.

  2. Run the install and just before you start, set the permissions on your configure to 755.

this should have you up and running in a matter of minutes.

sabastina

Running the "changed_files_only" will do a complete upgrade from 1.2?

Let me ask this question from my first post. The upgrade directions don't specify where to put the installation files before you run them. Where should the install folder be in relation to my shop directory? Maybe i'm doing something wrong here.

What files in my 1.2.x shop do I need to keep? I can redo my template and layout, i'm more worried about upgrading my database.

Outside a dog, a book is a man's best friend.
Inside a dog, it's too dark to read.
Groucho Marx

12 May 2006, 1:10 PM
#20
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Upgrading

The Changed files for v1.3.0.1 only is for shops that are already upgraded to v1.3 ...

Any other version needs to use the Full Set of v1.3.0.1 ...

Note: Backup both your database and website before attempting an upgrade

NOTE: I strongly recommend doing a test upgrade on a test directory and a test database of your site before attempting to upgrade a Live shop ...

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