Zen Cart Logo
Forums / Basic Configuration / Admin Page Gone!

Admin Page Gone!

Views: 2,400

Results 1 to 13 of 13
26 Apr 2011, 2:39 PM
#1
weeziesmith avatar

weeziesmith

New Zenner

Join Date:
Apr 2011
Posts:
5
Plugin Contributions:
0

Admin Page Gone!

I'm using the lastest version of zen cart. I have just gone to my admin page to log in and continue adding products and all I get is a blank page, no message errors etc...just a blank page.

Any idea what has happened, I haven't touched the admin.php file, the only thing I changed was the met_tags.php to remove the Zen Cart! words

I'm at a complete loss as to what to do, all and any help will be greatly appreciated.

26 Apr 2011, 3:19 PM
#2
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,179
Plugin Contributions:
0

Re: Admin Page Gone!

Read this tutorial please.. > https://www.zen-cart.com/tutorials/index.php?article=82

  1. looks like you have messed up the meta_tag.php
  1. replace with an orginial and should fix
  1. Then reedit it correctly and load on your server..
26 Apr 2011, 6:37 PM
#3
weeziesmith avatar

weeziesmith

New Zenner

Join Date:
Apr 2011
Posts:
5
Plugin Contributions:
0

Re: Admin Page Gone!

Thank you for that, it's done the trick, apparently I had messed up the meta_tag file. It's all working now.

How do I get rid of the "Zen cart! The Art of e-commerce" from appearing on my title bar? Because that is what I was trying to do when I messed it up! :unsure:

26 Apr 2011, 7:00 PM
#4
irishshopper avatar

irishshopper

Zen Follower

Join Date:
Apr 2010
Location:
County Down, Northern Ireland
Posts:
302
Plugin Contributions:
0

Re: Admin Page Gone!

This has just happened to me and my latest debug file gives this message

[26-Apr-2011 12:47:19] PHP Fatal error: Cannot redeclare class base in /home2/irishisb/public_html/irishartonline/includes/classes/class.base.php on line 17

The website is http://www.irish-art-online.com using latest XenCart version

26 Apr 2011, 7:55 PM
#5
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,179
Plugin Contributions:
0

Re: Admin Page Gone!

weeziesmith:

Thank you for that, it's done the trick, apparently I had messed up the meta_tag file. It's all working now.

How do I get rid of the "Zen cart! The Art of e-commerce" from appearing on my title bar? Because that is what I was trying to do when I messed it up! :unsure:

@seeziesmith,
Here is a copy of the meta_tags.php
includes/ languages/ english/ meta_tags.php

<?php
/**
 * @package languageDefines
 * @copyright Copyright 2003-2008 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: meta_tags.php 10330 2008-10-10 20:14:32Z drbyte $
 */

// page title
define('TITLE', 'Zen Cart!');

// Site Tagline
define('SITE_TAGLINE', 'The Art of E-commerce');

// Custom Keywords
define('CUSTOM_KEYWORDS', 'ecommerce, open source, shop, online shopping');

// Home Page Only:
  define('HOME_PAGE_META_DESCRIPTION', '');
  define('HOME_PAGE_META_KEYWORDS', '');

  // NOTE: If HOME_PAGE_TITLE is left blank (default) then TITLE and SITE_TAGLINE will be used instead.
  define('HOME_PAGE_TITLE', ''); // usually best left blank


// EZ-Pages meta-tags.  Follow this pattern for all ez-pages for which you desire custom metatags. Replace the # with ezpage id.
// If you wish to use defaults for any of the 3 items for a given page, simply do not define it.
// (ie: the Title tag is best not set, so that site-wide defaults can be used.)
// repeat pattern as necessary
  define('META_TAG_DESCRIPTION_EZPAGE_#','');
  define('META_TAG_KEYWORDS_EZPAGE_#','');
  define('META_TAG_TITLE_EZPAGE_#', '');

// Per-Page meta-tags. Follow this pattern for individual pages you wish to override. This is useful mainly for additional pages.
// replace "page_name" with the UPPERCASE name of your main_page= value, such as ABOUT_US or SHIPPINGINFO etc.
// repeat pattern as necessary
  define('META_TAG_DESCRIPTION_page_name','');
  define('META_TAG_KEYWORDS_page_name','');
  define('META_TAG_TITLE_page_name', '');

// Review Page can have a lead in:
  define('META_TAGS_REVIEW', 'Reviews: ');

// separators for meta tag definitions
// Define Primary Section Output
  define('PRIMARY_SECTION', ' : ');

// Define Secondary Section Output
  define('SECONDARY_SECTION', ' - ');

// Define Tertiary Section Output
  define('TERTIARY_SECTION', ', ');

// Define divider ... usually just a space or a comma plus a space
  define('METATAGS_DIVIDER', ' ');

// Define which pages to tell robots/spiders not to index
// This is generally used for account-management pages or typical SSL pages, and usually doesn't need to be touched.
  define('ROBOTS_PAGES_TO_SKIP','login,logoff,create_account,account,account_edit,account_history,account_history_info,account_newsletters,account_notifications,account_password,address_book,advanced_search,advanced_search_result,checkout_success,checkout_process,checkout_shipping,checkout_payment,checkout_confirmation,cookie_usage,create_account_success,contact_us,download,download_timeout,customers_authorization,down_for_maintenance,password_forgotten,time_out,unsubscribe,info_shopping_cart,popup_image,popup_image_additional,product_reviews_write,ssl_check');


// favicon setting
// There is usually NO need to enable this unless you need to specify a path and/or a different filename
//  define('FAVICON','favicon.ico');

?>
```If using the override file system place this file here with your changes..
includes/ languages/ english/ your_template_name/ meta_tags.php
There are the two lines you need to change:> define('TITLE', 'Zen Cart!');
> 
> // Site Tagline
> define('SITE_TAGLINE', 'The Art of E-commerce');
> 
> 1. >
2. notice the highlighted font above in red
>
3. change red only and leave the single quotes around the wording 'blaaa  blaaa blaaa'
>
26 Apr 2011, 7:59 PM
#6
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,179
Plugin Contributions:
0

Re: Admin Page Gone!

irishshopper:

This has just happened to me and my latest debug file gives this message

[26-Apr-2011 12:47:19] PHP Fatal error: Cannot redeclare class base in /home2/irishisb/public_html/irishartonline/includes/classes/class.base.php on line 17

The website is http://www.irish-art-online.com using latest XenCart version

@irishshopper,
Take time to read this thread please.. > http://www.zen-cart.com/forum/showthread.php?t=133743

10 Jul 2011, 11:28 PM
#7
satellitemania avatar

satellitemania

New Zenner

Join Date:
Mar 2011
Posts:
1
Plugin Contributions:
0

Re: Admin Page Gone!

This title is the only thing I can find close to my problem HELP! I did some revisions on products and now am missing my home page. It comes up with "TOP" now.. so just bypasses my nice home page and goes right into a category. background... I copied a category into a category with products and think that messed up things. I've searched here but don't really know what to search on other than Top and Home Page.

29 Aug 2011, 11:40 PM
#8
lindeeg avatar

lindeeg

New Zenner

Join Date:
Aug 2010
Posts:
46
Plugin Contributions:
0

Re: Admin Page Gone!

Version 1.3.9
Problem: White screen on login/no login info

I took my shop offline to do a back up & restore on the database to set different permissions. I modified the configure.php file for the new PW and DB info and when I tried to log in to admin, I get a white screen.

I recopied the old version of the configure file back to the server but no change (the old db is still there). White screen, no log in screen. (I even copied the file back again on the off chance it didn't transfer properly per the tutorial info.)

Then I found these posts and looked in the error log, replaced the metatags.php and no I get this:

[29-Aug-2011 15:58:07] PHP Warning: require(DIR_FS_CATALOG_LANGUAGESenglish/meta_tags.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in xxxxxxxxxxxxx/store/admin/includes/languages/english.php on line 54
[29-Aug-2011 15:58:07] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'DIR_FS_CATALOG_LANGUAGESenglish/meta_tags.php' (include_path='.:/usr/local/php5/lib/php') in xxxxxxxxxxxxxxx/store/admin/includes/languages/english.php on line 54

How do these things get changed? How do I fix it?

Thanks for your help
Lindee

30 Aug 2011, 12:00 AM
#9
drbyte avatar

drbyte

Sensei

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

Re: Admin Page Gone!

Your configure.php file is damaged, which is preventing DIR_FS_CATALOG_LANGUAGES from getting set properly, and thus you're getting incorrect calls to require(DIR_FS_CATALOG_LANGUAGESenglish/meta_tags.php)

30 Aug 2011, 1:11 AM
#10
lindeeg avatar

lindeeg

New Zenner

Join Date:
Aug 2010
Posts:
46
Plugin Contributions:
0

Re: Admin Page Gone!

I replaced the configure.php files with backups that were previously working. Is there something specific I can look for?

30 Aug 2011, 2:29 AM
#11
drbyte avatar

drbyte

Sensei

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

Re: Admin Page Gone!

Actually look at the file contents. Is everything all on one line? If so, your editor and/or your FTP program has remove the line-endings, thus making the contents useless.
And, is there a define statement for DIR_FS_CATALOG_LANGUAGES in there? The error message you quoted indicates that DIR_FS_CATALOG_LANGUAGES is not actually defined (that's why its name is showing instead of its defined value). So ... you need to get that define back into the file like it was originally ... along with all the rest of the content that should be there.

30 Aug 2011, 3:20 PM
#12
lindeeg avatar

lindeeg

New Zenner

Join Date:
Aug 2010
Posts:
46
Plugin Contributions:
0

Re: Admin Page Gone!

OK, I finally DELETED the configure.php file and then replaced it with the SAME backup and now everything is happy again! Thanks for pointing me in the right direction.

25 Oct 2011, 11:35 PM
#13
nea_esco avatar

nea_esco

New Zenner

Join Date:
May 2008
Location:
Arizona
Posts:
4
Plugin Contributions:
0

Re: Admin Page Gone!

Unfortunately I must join in on this conversation with my own problem of having an ADMIN which is blank page.

I'm running 1.3.7 on windows.

Here's what my CGI error log says:

PHP Fatal error: main() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/application_top.php' (include_path='.:/usr/local/lib/php-4.4.9/lib/php') in /.../extras/ipn_test_return.php on line 14
PHP Warning: main(includes/application_top.php) [<a href='function.main'>function.main</a>]: failed to open stream: No such file or directory in /.../extras/ipn_test_return.php on line 14
Failed loading /usr/local/Zend/Zend-2.5.7/lib/ZendExtensionManager.so: /usr/local/Zend/Zend-2.5.7/lib/ZendExtensionManager.so: cannot open shared object file: No such file or directory
/opt/users/moo/a/r/.../php: error while loading shared libraries: libming.so.0: failed to map segment from shared object: Permission denied

I am pretty sure this happened when I was adding more attributes (a lot more) to a product. Maybe I overloaded?

Can anyone help? Thanks for the help once again. This forum has been a life-saver before, hope it will again. Thanks again.