Zen Cart Logo
Forums / Basic Configuration / blank page after renaming admin folder

blank page after renaming admin folder

Locked

Views: 2,148

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
5 Nov 2010, 10:24 PM
#1
gbengoose avatar

gbengoose

Zen Follower

Join Date:
Jul 2010
Posts:
101
Plugin Contributions:
0

blank page after renaming admin folder

Cuda, I'm having the same issue as you but I have not yet converted. My blank login page resulted in me trying to set-up my SSL. I think I messed it up pretty bad. only changed the configure files in admin/include and include/. When it didnt work properly, I changed the files back to the originals but I'm still getting the blank admin page.

Will I lose my products and settings if I re-upload zen-cart?

Do I have any options to fix this?
I am using 1.3.9g

6 Nov 2010, 1:36 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: blank page after renaming admin folder

Look in your /cache folder. You'll see several myDebug-adm-xxxxxx.log files. The latest file will tell you what's going wrong.

6 Nov 2010, 3:06 AM
#3
gbengoose avatar

gbengoose

Zen Follower

Join Date:
Jul 2010
Posts:
101
Plugin Contributions:
0

Re: blank page after renaming admin folder

Dr. Byte, i dont see any files titled similar to that. I think I must have done something wrong. Do I have any other options?

My site is working fine because i have received the normal amount of orders i usually receive. i know because of the e-mails i received.

6 Nov 2010, 4:00 AM
#4
gbengoose avatar

gbengoose

Zen Follower

Join Date:
Jul 2010
Posts:
101
Plugin Contributions:
0

Re: blank page after renaming admin folder

I attempted to set my SSL certificate. I confirmed that my https worked when I typed it in manually but after uploading the.htcaccess file and changing the admin/includes/configure and include/configure files, it didnt work so reversed what I did. When I went to my admin site the login page was blank.

I've read in some other threads to check the cache to see what bugs come up but the last log file in my cache folder is for October 2.

What are my options to get this fixed?

6 Nov 2010, 10:23 AM
#5
drbyte avatar

drbyte

Sensei

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

Re: blank page after renaming admin folder

Take a copy of your (renamed) /admin/ folder and subfolders, and compare that against a clean set of the /admin/ folder and subfolders, and identify what's broken, and upload anything that needs fixing.
http://www.zen-cart.com/wiki/index.php/Troubleshoot_-_Diagnosing_Obscure_Issues

7 Nov 2010, 3:13 PM
#6
gbengoose avatar

gbengoose

Zen Follower

Join Date:
Jul 2010
Posts:
101
Plugin Contributions:
0

Re: blank page after renaming admin folder

I've made the changes to the folder but now I get the error below.

0 DB_ERROR_NOT_CONNECTED
in:
[select * from project_version WHERE project_version_key = 'Zen-Cart Database' ]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

7 Nov 2010, 3:18 PM
#7
drbyte avatar

drbyte

Sensei

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

Re: blank page after renaming admin folder

Okay, now that usually means you've got the wrong database details entered in your configure.php files ... or else the database is down.

9 Nov 2010, 1:38 AM
#8
gbengoose avatar

gbengoose

Zen Follower

Join Date:
Jul 2010
Posts:
101
Plugin Contributions:
0

Re: blank page after renaming admin folder

i guess i got that figured that out because I am no longer getting that error but the page is blank now.

Does anything look odd below?

define('HTTP_SERVER', 'http://www.internationalentertainmentstore.com');
define('HTTPS_SERVER', 'https://www.internationalentertainmentstore.com');
define('HTTP_CATALOG_SERVER', 'http://www.internationalentertainmentstore.com');
define('HTTPS_CATALOG_SERVER', 'https://www.internationalentertainmentstore.com');

// Use secure webserver for catalog module and/or admin areas?
define('ENABLE_SSL_CATALOG', 'false');
define('ENABLE_SSL_ADMIN', 'false');

// NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
// * DIR_WS_* = Webserver directories (virtual/URL)
// these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
define('DIR_WS_ADMIN', '/admin');
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_ADMIN', '/admin/');
define('DIR_WS_HTTPS_CATALOG', '/');

define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/');
define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
define('DIR_WS_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/');

// * DIR_FS_* = Filesystem directories (local/physical)
//the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
define('DIR_FS_ADMIN', '/homepages/2/d330783464/htdocs/admin/');
define('DIR_FS_CATALOG', '/homepages/2/d330783464/htdocs/');

define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/');
define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

// define our database connection
define('DB_TYPE', 'mysql');
define('DB_PREFIX', '');
define('DB_SERVER', 'db2522.perfora.net');
define('DB_SERVER_USERNAME', 'dbo334588512');
define('DB_SERVER_PASSWORD', 'XXXXXXX');
define('DB_DATABASE', 'db334588512');
define('USE_PCONNECT', 'false');
define('STORE_SESSIONS', 'db');
// for STORE_SESSIONS, use 'db' for best support, or '' for file-based storage

// The next 2 "defines" are for SQL cache support.
// For SQL_CACHE_METHOD, you can select from: none, database, or file
// If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache
// or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
// ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash
define('SQL_CACHE_METHOD', 'none');
define('DIR_FS_SQL_CACHE', '');

10 Nov 2010, 4:49 AM
#10
gbengoose avatar

gbengoose

Zen Follower

Join Date:
Jul 2010
Posts:
101
Plugin Contributions:
0

Re: blank page after renaming admin folder

DrByte i went through the thing mentioned in the url you provided and i was able to get my MyDebug running. I got the error message but now I dont know what to do or how to fix whats wrong.

I'm not a developer nor do I understand php.

I appreciate the help.

[09-Nov-2010 21:35:35] PHP Warning: main(includes/templates/template_default/google_analytics/google_analytics.php) [<a href='function.main'>function.main</a>]: failed to open stream: No such file or directory in /homepages/2/d330783464/htdocs/includes/templates/theme394/common/tpl_main_page.php on line 272
[09-Nov-2010 21:35:35] PHP Fatal error: main() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/templates/template_default/google_analytics/google_analytics.php' (include_path='.:/usr/lib/php') in /homepages/2/d330783464/htdocs/includes/templates/theme394/common/tpl_main_page.php on line 272

10 Nov 2010, 8:54 AM
#11
drbyte avatar

drbyte

Sensei

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

Re: blank page after renaming admin folder

gbengoose:

[09-Nov-2010 21:35:35] PHP Warning: main(includes/templates/template_default/google_analytics/google_analytics.php) [function.main]: failed to open stream: No such file or directory ...

You've got an addon partially installed that's looking for one of its files, but it's not found on the server.
You'll need to upload the missing file, or uninstall the code that's looking for it.