Forums / General Questions / I need help, very emergency,please....

I need help, very emergency,please....

Locked

Views: 1,946

Results 1 to 14 of 14
This thread is locked. New replies are disabled.
18 Jan 2008, 9:09 PM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,680
Plugin Contributions:
0

Re: I need help, very emergency,please....

Restore your most recent backups.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

18 Jan 2008, 9:10 PM
#3
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: I need help, very emergency,please....

g-life:

I don't know what happened, when i back home, my zencart getting like this
http://greenwoodmensstyle.com/zencart/index.php
admin panel getting like this:
http://greenwoodmensstyle.com/4images/data/media/72/help.JPG
Is there anyone can help me?i'm almost cannot sleep now.
Thank you
Something goes wrong with your includes/configure.php and admin/includes/configure.php. Did you or anyone else make changes to those files? If you have a back up of your site files, back up the current version of those 2 files, then upload the 2 configure files from your back up to overwrite the current ones.

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

18 Jan 2008, 9:15 PM
#4
g_life avatar

g_life

New Zenner

Join Date:
Apr 2007
Posts:
17
Plugin Contributions:
0

Re: I need help, very emergency,please....

Thank you all, but i didn't change anything.
It work very great about one month, but just now when i back home and look my site, it just become what you see, i even don't know why?

18 Jan 2008, 9:57 PM
#5
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: I need help, very emergency,please....

Even if you haven't changed anything, some things have changed! On the Admin side it looks as though your admin/includes/configure.php file has been deleted or corrupted, and on the catalog side, it rather looks as though your stylesheets have completely disappeared.

Kim's advice is good, restore the latest backup that you have. Alternatively, your files up again (your database looks OK), then copy a fresh set of files from the version of Zen Cart that you were using over your cart and hope that you were using the over-ride system properly. You will still need to reconstruct the admin/includes/configure.php file by hand though.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

18 Jan 2008, 10:01 PM
#6
g_life avatar

g_life

New Zenner

Join Date:
Apr 2007
Posts:
17
Plugin Contributions:
0

Re: I need help, very emergency,please....

kuroi:

Even if you haven't changed anything, some things have changed! On the Admin side it looks as though your admin/includes/configure.php file has been deleted or corrupted, and on the catalog side, it rather looks as though your stylesheets have completely disappeared.

Kim's advice is good, restore the latest backup that you have. Alternatively, your files up again (your database looks OK), then copy a fresh set of files from the version of Zen Cart that you were using over your cart and hope that you were using the over-ride system properly. You will still need to reconstruct the admin/includes/configure.php file by hand though.
Dear kuroi,

Thank you, but i compare those two configure.php, they doesn't change anything, anyword, now i'm so confuse.........

18 Jan 2008, 10:02 PM
#7
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: I need help, very emergency,please....

Post the content of the file here, without the mysql login info of course (I suspect that this has something to do with your host, so you should contact them as well)

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

18 Jan 2008, 10:09 PM
#8
g_life avatar

g_life

New Zenner

Join Date:
Apr 2007
Posts:
17
Plugin Contributions:
0

Re: I need help, very emergency,please....

yellow1912:

Post the content of the file here, without the mysql login info of course (I suspect that this has something to do with your host, so you should contact them as well)
Thank you yellow1912, i think it's a great idea.

18 Jan 2008, 10:40 PM
#10
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: I need help, very emergency,please....

You have to paste the content here, we can not view php files.

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

18 Jan 2008, 10:46 PM
#11
g_life avatar

g_life

New Zenner

Join Date:
Apr 2007
Posts:
17
Plugin Contributions:
0

Re: I need help, very emergency,please....

<?php /** * @package Configuration Settings circa 1.3.8 * @copyright Copyright 2003-2007 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 */ // Define the webserver and path parameters // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com define('HTTP_SERVER', 'http://greenwoodmensstyle.com'); define('HTTPS_SERVER', 'https://greenwoodmensstyle.com'); // Use secure webserver for checkout procedure? define('ENABLE_SSL', '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_CATALOG', '/zencart/'); define('DIR_WS_HTTPS_CATALOG', '/zencart/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_INCLUDES', 'includes/'); 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_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/'); define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/'); define('DIR_WS_PHPBB', '/home/greenwoo/public_html/phpBB2/'); // * 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_CATALOG', '/home/greenwoo/public_html/zencart/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/'); define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS); define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/'); // define our database connection define('DB_TYPE', 'mysql'); define('DB_PREFIX', 'zen_'); define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty /******************************************************************************** * The following code block alternates database users based on 15-minute segments * It supports separate users for each 15-minute segment of a given hour */ // Enter your 4 database usernames here. // If you have only two, then repeat them: first, second, first, second $dbuser[] = 'greenwoo_***'; $db_pwd[] = '****'; $dbuser[] = 'greenwoo_***'; $db_pwd[] = '****'; $dbuser[] = 'greenwoo_***'; $db_pwd[] = '****'; $dbuser[] = 'greenwoo_***'; $db_pwd[] = '****'; $dbuser[] = 'greenwoo_***'; $db_pwd[] = '****'; $dbuser[] = 'greenwoo_***'; $db_pwd[] = '****'; $dbuser[] = 'greenwoo_***'; $db_pwd[] = '****'; $dbuser[] = 'greenwoo_***'; $db_pwd[] = '****'; $dbuser[] = 'greenwoo_***'; $db_pwd[] = '****'; $dbuser[] = 'greenwoo_***'; $db_pwd[] = '****'; $dbuser[] = 'greenwoo_***'; $db_pwd[] = '****'; $dbuser[] = 'greenwoo_***'; $db_pwd[] = '****'; // NO NEED TO DO ANYTHING IN THIS SECTION: // calculate the current "minute" $current_minute = date('i'); // calculate which "quarter of the hour" we're in $db_user_active = (int)($current_minute/5); define('DB_SERVER_USERNAME', $dbuser[$db_user_active]); define('DB_SERVER_PASSWORD', $db_pwd[$db_user_active]); //echo $db_user_active; /*** END OF rotating db-users code***********************************/ define('DB_DATABASE', 'greenwoo_zencart'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'db'); // leave empty '' for default handler or set to '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', '/home/greenwoo/public_html/zencart/cache'); ?>
18 Jan 2008, 11:58 PM
#12
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: I need help, very emergency,please....

<?php echo $_SERVER['DOCUMENT_ROOT']; ?>
  • Copy and paste the above code in a blank page
  • Save it as absolutepath.php
  • Upload it via FTP to the location where you install your ZC
  • Open your favorite browser and enter the URL to point to this file:
  • Example: **http://www.your-site.com/absolutepath.php**Copy and paste the display content here.

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

19 Jan 2008, 2:04 AM
#13
g_life avatar

g_life

New Zenner

Join Date:
Apr 2007
Posts:
17
Plugin Contributions:
0

Re: I need help, very emergency,please....

yellow1912:

<?php echo $_SERVER['DOCUMENT_ROOT']; ?>
> - >
- Copy and paste the above code in a blank page
>
- Save it as absolutepath.php
>
- Upload it via FTP to the location where you install your ZC
>
- Open your favorite browser and enter the URL to point to this file:
> - Example: **<http://www.your-site.com/absolutepath.php>**Copy and paste the display content here.
Thank you, yellow1912
 
I already to move my shopping cart to my country - Taiwan, but i'll test this before i move it well, ipowerweb always mad me crazy.:no:
19 Jan 2008, 10:03 PM
#14
g_life avatar

g_life

New Zenner

Join Date:
Apr 2007
Posts:
17
Plugin Contributions:
0

Re: I need help, very emergency,please....

Dear yellow1912

I put this absolutepath.php under zencart path, it display:/home/greenwoo/public_html

link is here: http://greenwoodmensstyle.com/zencart/absolutepath.php

:(