Zen Cart Logo
Forums / General Questions / Admin is now READ ONLY.. (didn't install the patch correctly)

Admin is now READ ONLY.. (didn't install the patch correctly)

Locked

Views: 1,877

Results 1 to 13 of 13
This thread is locked. New replies are disabled.
2 Jul 2009, 12:56 AM
#1
sneakysnier avatar

sneakysnier

New Zenner

Join Date:
Jul 2009
Posts:
10
Plugin Contributions:
0

Admin is now READ ONLY.. (didn't install the patch correctly)

Hi folks - can't find anything with the search function so need to post...

I upgraded to the lastest security patch (1.38a) and all seemed fine - could access admin with no issues.
After reading the security recommendation to rename the admin account i renamed mine accordingly... and didn't think much of it.

Today i've come to make some changes to the site but find that i cannot make a single change - whether adding another user or changing ANY config settings...when i click 'APPLY' i'm simply taken back to the 'stats' page....

Very confusing (well it is for me)..... would this likely to be a database issue or perhaps a config file that could be causing the problem?

Cheers
Ian

2 Jul 2009, 4:09 AM
#2
coffee1 avatar

coffee1

New Zenner

Join Date:
Apr 2008
Location:
Washington
Posts:
13
Plugin Contributions:
0

Re: Admin is now READ ONLY.. (didn't install the patch correctly)

I also tried the security patch on 1.3.7. I am not proficient at this, and ended up restoring to a previous date. Also, prior to adding the secutity patch I had uploaded images for new products. I have now lost all images. I removed the new images, but still not displaying previous images. Now I cannot change anything in admin. Any Help would be appreciated. I have been searching the forum for 2 days.
Thank you
https://www.bluestilly.com

2 Jul 2009, 7:54 AM
#3
sneakysnier avatar

sneakysnier

New Zenner

Join Date:
Jul 2009
Posts:
10
Plugin Contributions:
0

Re: Admin is now READ ONLY.. (didn't install the patch correctly)

Just for further info:

I can create another customer through the store front end - but can't remove the user via the admin control panel. The only way i can remove the user is directly via MySQL.

The 'only' thing i've been able to edit in the admin control panel so far was removing the PayPal express module. No other edits appear possible - even altering store details.

The strange thing is the redirect to the 'stats' page every time i press 'apply' to an edit - regardless of which page i'm editing.

Cheers
Ian

2 Jul 2009, 8:27 AM
#4
sneakysnier avatar

sneakysnier

New Zenner

Join Date:
Jul 2009
Posts:
10
Plugin Contributions:
0

Re: Admin is now READ ONLY.. (didn't install the patch correctly)

Ok - problem solved!! :clap:

I checked the content of the newly updated /admin/includes/functions/html_output.php file and noticed that the line of code that should have been added wasn't there..(see: Amending html_output.php by hand - in the 'readme.html' file - security_patch_v138_20090619).

So the 'fix' was to remove the broken html_output.php file and replace it (not overwrite) with the new one. (I'd simply overwritten it last time and something must have gone pear shaped). :oops:

So yes - Pilot Error !

2 Jul 2009, 3:39 PM
#5
coffee1 avatar

coffee1

New Zenner

Join Date:
Apr 2008
Location:
Washington
Posts:
13
Plugin Contributions:
0

Re: Admin is now READ ONLY.. (didn't install the patch correctly)

Yeah. Thank you. I was able to fix the Admin problem. Still working on my broken image links.:lookaroun

2 Jul 2009, 4:41 PM
#6
sneakysnier avatar

sneakysnier

New Zenner

Join Date:
Jul 2009
Posts:
10
Plugin Contributions:
0

Re: Admin is now READ ONLY.. (didn't install the patch correctly)

Coffee1:

Yeah. Thank you. I was able to fix the Admin problem. Still working on my broken image links.:lookaroun

Firstly - can you see the images via an FTP client?

If yes then If you were to add a new item can you select one of them for the new item?

2 Jul 2009, 5:48 PM
#7
coffee1 avatar

coffee1

New Zenner

Join Date:
Apr 2008
Location:
Washington
Posts:
13
Plugin Contributions:
0

Re: Admin is now READ ONLY.. (didn't install the patch correctly)

I usually upload directly from my server. All image links are broken, even my previous images. I will try the FTP client. Thank you for helping a slow learner!

2 Jul 2009, 6:18 PM
#8
drbyte avatar

drbyte

Sensei

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

Re: Admin is now READ ONLY.. (didn't install the patch correctly)

Did you perhaps edit your configure.php files incorrectly?
What is the URL that your broken images are pointing to? And what's wrong with that URL? And what error message occurs when you try to access that image directly in the browser?

2 Jul 2009, 11:16 PM
#9
coffee1 avatar

coffee1

New Zenner

Join Date:
Apr 2008
Location:
Washington
Posts:
13
Plugin Contributions:
0

Re: Admin is now READ ONLY.. (didn't install the patch correctly)

I do not know if my configure.php file is correct. I apologize, but how do I tell? I thought when I restored my files after trying to install the security patch, all files would have been put back correctly.
Also, I did try to direct ftp an image and it still shows error.
All images point to http://bluestilly.com/zen-cart/images
That seems correct to me. :unsure:

4 Jul 2009, 2:31 AM
#10
coffee1 avatar

coffee1

New Zenner

Join Date:
Apr 2008
Location:
Washington
Posts:
13
Plugin Contributions:
0

Re: Admin is now READ ONLY.. (didn't install the patch correctly)

Still working on my image problem. I can see the images via FTP client and I did try adding a new product with a new image, and it still does not display. I can not find any issues with the configure.php, although, not sure if I would recognize it. I had not actually changed anything there originally. Any other suggestions appreciated.:dontgetit

4 Jul 2009, 7:27 AM
#11
sneakysnier avatar

sneakysnier

New Zenner

Join Date:
Jul 2009
Posts:
10
Plugin Contributions:
0

Re: Admin is now READ ONLY.. (didn't install the patch correctly)

Just to clarify...

Go to edit an existing product and scroll down to the image section.
To the right hand side of the 'Browse' button the existing image path will be displayed.

If the image is uploaded to your 'images' directory then it will simply display 'your_image.jpg' (where your_image is the name of the image).

If you uploaded the images to a subdirectory of the Image folder e.g. yoursite/images/coffee then it will display 'coffee/your_image.jpg'

To the right of the image path is also a drop down box that confirms where the image is stored.

Additionally, check there are no spaces in the file name and also be aware of case sensitivity....

Check the folder permissions of the IMAGES directory... mine are set at 755

4 Jul 2009, 7:40 AM
#12
sneakysnier avatar

sneakysnier

New Zenner

Join Date:
Jul 2009
Posts:
10
Plugin Contributions:
0

Re: Admin is now READ ONLY.. (didn't install the patch correctly)

...and the image permissions set to 644...

5 Jul 2009, 1:41 AM
#13
coffee1 avatar

coffee1

New Zenner

Join Date:
Apr 2008
Location:
Washington
Posts:
13
Plugin Contributions:
0

Re: Admin is now READ ONLY.. (didn't install the patch correctly)

Thanks for helping! My image file is read/write. It is only zen-cart the images do not display. In my private folder and imglib, they display fine. When I try to edit or add new product, the path is my_image.jpg. They upload to the main directory. The path seems fine. I have tried to change the path to web/imglib/my_image.jpg, and this is not successful either. I have copied images that display from the web/imglib to the zen/images, and they do not display in Zen. This problem has only occured since I tried to add a group of new images and also the security patch. I know it has to be something very simple for most, I just can't see it. :frusty:
PS Happy 4th everyone!