Forums / Setting Up Categories, Products, Attributes / While in Admin - after editing any page - SAVE page blank

While in Admin - after editing any page - SAVE page blank

Locked

Views: 1,543

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
25 Dec 2010, 8:30 AM
#1
danielinfresno avatar

danielinfresno

New Zenner

Join Date:
Dec 2010
Posts:
17
Plugin Contributions:
0

While in Admin - after editing any page - SAVE page blank

Any help would be appreciated... this i latest version of ZC... The only thing I have changed in any of the pages was changing ZenCart!, to my store name...

Most areas, I have just learned to go back one page to enter item... but now, I cannot even add a product, as the page is blank.

Please help.

One of the links is like this..

http://mysite.com/myadmin/categories.php?x=35&y=14&product_type=1&cPath=14&action=new_product

Page empty - cant add product.

Thank you.:oops:

25 Dec 2010, 8:43 AM
#2
danielinfresno avatar

danielinfresno

New Zenner

Join Date:
Dec 2010
Posts:
17
Plugin Contributions:
0

Re: While in Admin - after editing any page - SAVE page blank

More INFO... debug file gives:

[25-Dec-2010 01:33:38] PHP Warning: Cannot modify header information - headers already sent by (output started at /home2/aworldmu/public_html/zc_admin/includes/languages/english.php:1) in /home2/aworldmu/public_html/zc_admin/includes/init_includes/init_templates.php on line 28
[25-Dec-2010 01:33:38] PHP Warning: Cannot modify header information - headers already sent by (output started at /home2/aworldmu/public_html/zc_admin/includes/languages/english.php:1) in /home2/aworldmu/public_html/zc_admin/includes/functions/general.php on line 21

25 Dec 2010, 1:31 PM
#3
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: While in Admin - after editing any page - SAVE page blank

I would check your admin/includes/languages/english.php file, and replace it with a fresh copy if necessary.

Also, you've revealed your custom admin folder name to the world, so you'll need to change that again. I would recommend something that doesn't have 'admin' in the name.

25 Dec 2010, 8:32 PM
#4
danielinfresno avatar

danielinfresno

New Zenner

Join Date:
Dec 2010
Posts:
17
Plugin Contributions:
0

Re: While in Admin - after editing any page - SAVE page blank

Thank you for letting me know... it does not seem to be the english page...

For admin issue:

I renamed folder.. and changed the configuration page within that folder to a new name in three places.

// these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
define('DIR_WS_ADMIN', '/NEW NAME HERE/');
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_ADMIN', '/NEW NAME HERE/');
define('DIR_WS_HTTPS_CATALOG', '/');

//the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
define('DIR_FS_ADMIN', '/home2/aworldmu/public_html/NEW NAME HERE/');

I can login ok.. but again... if I try to add a product - BLANK PAGE.

If I undo all of my changes, rename folder... if I try to add a product - Blank page.

It is only after I replace the files again with a fresh copy.. (even though I did an undo to the three changes, and confirmed they reverted) that I can view the add products page.

This same thing is happening if I change any page it seems... I changed the meta tag page with the same result, replacing Zen Cart! with AWMIV.

Try to add product... cannot.. undo the change, try to add, cannot. Replace file, and all is ok again.

I just did a fresh install of the zen cart... and all the same things happen... BAFFLING TO ME...

Any help would be so welcomed!

25 Dec 2010, 8:42 PM
#5
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: While in Admin - after editing any page - SAVE page blank

public_html/NEW NAME HERE/includes/configure.php

The above file is the one you need to edit as it for your Admin section.

BTW, when providing a path used you only need to start with public_html/ ... as whatever is used before public_html is not something needed nor should it be provided; else others will know and that's not good. :wink:

The learning is in the doing.

Potent Products

25 Dec 2010, 8:52 PM
#6
danielinfresno avatar

danielinfresno

New Zenner

Join Date:
Dec 2010
Posts:
17
Plugin Contributions:
0

Re: While in Admin - after editing any page - SAVE page blank

Hi Rob,

Yes.. that is indeed the one I edited... And thanks for the heads up.. I wonder if I can have these removed... but I will avoid in future...

If I make a change to any page.. i can edit, and save, but the page disappers. In the case of adding a new product... I get a blank page. so I cannot do anything...

ideas? and Merry christmas!

25 Dec 2010, 9:01 PM
#7
danielinfresno avatar

danielinfresno

New Zenner

Join Date:
Dec 2010
Posts:
17
Plugin Contributions:
0

Re: While in Admin - after editing any page - SAVE page blank



And I get that little symbol on most pages as well... which may mean something... (I know that is a tag, but why it shows up if I make a change to a page...) I am not deleting any ticks, or semi-colons...

25 Dec 2010, 9:28 PM
#8
danielinfresno avatar

danielinfresno

New Zenner

Join Date:
Dec 2010
Posts:
17
Plugin Contributions:
0

Re: While in Admin - after editing any page - SAVE page blank

I read one of your other posts... I was using Expression Web to edit the files... I used the built in text editor on my host... changed everything and it works fine now... as far as I can tell.....

Thanks all!

Happy Holidays.

25 Dec 2010, 9:34 PM
#9
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,720
Plugin Contributions:
56

Re: While in Admin - after editing any page - SAVE page blank

Moderator's comment: site URL in first post removed but you should still rename your admin using a harder to guess name.

Note to all: zc_admin, adm1n, adm and the like are NOT HARD TO GUESS. Make it hard to guess. 8+ alphanumeric characters.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.