New Zenner
- Join Date:
- May 2006
- Posts:
- 2
- Plugin Contributions:
- 0
Upgrading
:eek: What are your experiences and some major problems that have arised when upgrading Zen Cart to the latest version?
New Zenner
:eek: What are your experiences and some major problems that have arised when upgrading Zen Cart to the latest version?
New Zenner
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
Oba-san
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 ...
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!
New Zenner
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
New Zenner
"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
New Zenner
I've had hosting companies that removed the users ability to change permissions using an ftp client.
New Zenner
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
New Zenner
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?
Go into your Cpanel.
click on file manager
navigate through your files to the file you wish to set permissions.
click on that file to bring up the permissions list
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
New Zenner
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.
New Zenner
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
New Zenner
ahhh you may need to set permissions at 444...instead
New Zenner
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
New Zenner
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
New Zenner
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
New Zenner
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
New Zenner
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
New Zenner
I think I see a serious issue here, please DO NOT do ANYTHING Until you answer at least my first question!!!!
Sabastina
New Zenner
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...
go get the zen-cart-v1.3.0.1-changed_files_only.zip
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.
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
New Zenner
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...
- delete the full file upgrade that you have on your server.
go get the zen-cart-v1.3.0.1-changed_files_only.zip
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.
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
Oba-san
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 ...
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!
Tell staff why this post should be reviewed.