Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / my site suddenly crash,how can I reinstall it and keep my old setup

my site suddenly crash,how can I reinstall it and keep my old setup

Started by soso838 on 22 Jan 2016, 6:12 AM · Views: 1,292

Results 1 to 11 of 11
22 Jan 2016, 6:12 AM
#1
soso838 avatar

soso838

Zen Follower

Join Date:
May 2012
Posts:
105
Plugin Contributions:
0

Post #1 by soso838

my website was crash,I can still go into admin subdirectory it runs two years and no problem, last Saturday I cannot log in anymore , and shows new installation screen, how should I do to keep old data and let my zencar life again

22 Jan 2016, 1:06 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Post #2 by kobra

Pl;\ease provide information in posting tips at the top of the page when responding

In the mean time use your host provided phpmyadmin and create a database backup

Zen-Venom Get Bitten

22 Jan 2016, 1:35 PM
#3
soso838 avatar

soso838

Zen Follower

Join Date:
May 2012
Posts:
105
Plugin Contributions:
0

Post #3 by soso838

Thanks I did Backup. Phpadmin can I just reinstall new zen art and put Database ,but how about the products I set up

22 Jan 2016, 1:47 PM
#4
soso838 avatar

soso838

Zen Follower

Join Date:
May 2012
Posts:
105
Plugin Contributions:
0

Post #4 by soso838

What information you need

22 Jan 2016, 4:02 PM
#5
drbyte avatar

drbyte

Sensei

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

Post #5 by drbyte

Your /includes/configure.php and /your-admin-directory/includes/configure.php files contain invalid directory paths.

This can happen for 2 reasons:
a) your hosting company changed the server configuration, or moved your site to another server
b) you, or someone who gained access to your server (ie: via FTP or otherwise) has deleted or changed your configure.php files

There are 3 ways to recover:

  1. Given that you're already making good backups of your server's file and database, you can restore those files from the backup. You do make regular backups, don't you?

  2. You can manually edit the contents of the configure.php files to put in the correct paths and database info.

  3. You can make a complete backup of your database, re-upload the zc_install folder to your server, run zc_install to do a "new install" (THIS WILL WIPE OUT THE DATABASE, but will also generate accurate configure.php files), and then restore your database from the backup. This is similar to this article on "moving to a new server": http://www.zen-cart.com/content.php?142-i-want-to-move-my-zen-cart-installation-to-another-host-or-a-different-server

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

23 Jan 2016, 5:31 AM
#6
soso838 avatar

soso838

Zen Follower

Join Date:
May 2012
Posts:
105
Plugin Contributions:
0

Post #6 by soso838

DrByte:

Your /includes/configure.php and /your-admin-directory/includes/configure.php files contain invalid directory paths.

This can happen for 2 reasons:
a) your hosting company changed the server configuration, or moved your site to another server
b) you, or someone who gained access to your server (ie: via FTP or otherwise) has deleted or changed your configure.php files

There are 3 ways to recover:

  1. Given that you're already making good backups of your server's file and database, you can restore those files from the backup. You do make regular backups, don't you?

  2. You can manually edit the contents of the configure.php files to put in the correct paths and database info.

  3. You can make a complete backup of your database, re-upload the zc_install folder to your server, run zc_install to do a "new install" (THIS WILL WIPE OUT THE DATABASE, but will also generate accurate configure.php files), and then restore your database from the backup. This is similar to this article on "moving to a new server": http://www.zen-cart.com/content.php?142-i-want-to-move-my-zen-cart-installation-to-another-host-or-a-different-server

  1. first thing, I still have the config files. but not sure if it is changed,if I can fix either one to get back my website, It must be great, but I looked the files. it looks nothing wrong(or can I sent to you to take a look).
  2. the config file still in the system
  3. I donot have backup file, I can only copy what they have in the system. and I also can backup the database
  4. I try to use Path.php ( <?php echo $_SERVER['SCRIPT_FILENAME']; ?> )
    to get the directory but donot know whether the address is wrong or not(/home/users/web/b2907/moo.directsilkcom/direct/path.php )(/home/users/web/b2907/moo.directsilkcom/path.php )

5.this is finall step if I cannot fix the config files. I think I have to reinstaill all.

23 Jan 2016, 5:46 AM
#7
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Post #7 by kobra

What information you need
Information in the posting tips at the top when you reply
Specifically
php version
mysql version

Zen-Venom Get Bitten

23 Jan 2016, 6:25 AM
#8
soso838 avatar

soso838

Zen Follower

Join Date:
May 2012
Posts:
105
Plugin Contributions:
0

Post #8 by soso838

this is my server info, is from FATcaw
MySQL Version 5.5.32
Perl Version 5.8.8
PHP Version 5.3

23 Jan 2016, 12:04 PM
#9
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Post #9 by mc12345678

Fatcow usually requests that a "generic" path be used instead of the specific path provided above. The information to be used is typically offered either on the right side of their cpanel, or under the hosted scripts area and I believe the subsection of PHP... It looks like the PHP version for your site has been upgraded beyond the system requirements for your version of ZC. PHP 5.2.17 has been retired (somewhat as has ZC 1.3.9a) and it is suggested that to maintain functionality moving forward that your store be upgraded (by rebuild): http://www.zen-cart.com/entry.php?3-How-do-I-rebuild-my-site-on-the-new-version-instead-of-upgrading

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

24 Jan 2016, 12:39 AM
#10
soso838 avatar

soso838

Zen Follower

Join Date:
May 2012
Posts:
105
Plugin Contributions:
0

Post #10 by soso838

I ask fatcaw fix for me, but they said they cannot, following is the mail they response
While checking the error logs, I could see that the issue is related to scripting. In order to resolve the issue, please contact your web master. We do not provide support for the issues like scripting and issues with third party applications.

20160121T002549: directsilk.com/index.php
PHP Fatal error: Call to a member function Execute() on a non-object in /hermes/walnaweb13a/b2907/moo.directsilkcom/includes/counter.php on line 23

is the couter.php have the problem or PHP have problem

24 Jan 2016, 3:06 AM
#11
soso838 avatar

soso838

Zen Follower

Join Date:
May 2012
Posts:
105
Plugin Contributions:
0

Post #11 by soso838

I copy the fatcow error code

20140917T054250: directsilk.com/index.php
2014-09-17 05:42:50 setrlimit(RLIMIT_NPROC) failed: Operation not permitted
20160118T212356: directsilk.com/index.php
PHP Warning: include(/hermes/waloraweb092/b2907/moo.directsilkcom/includes/classes/class.base.php): failed to open stream: No such file or directory in /hermes/walnaweb13a/b2907/moo.directsilkcom/includes/autoload_func.php on line 60
PHP Warning: include(): Failed opening '/hermes/waloraweb092/b2907/moo.directsilkcom/includes/classes/class.base.php' for inclusion (include_path='.:/usr/local/lib/php-5.3.29-amd64/lib/php') in /hermes/walnaweb13a/b2907/moo.directsilkcom/includes/autoload_func.php on line 60
20160121T002309: directsilk.com/index.php
PHP Fatal error: Class 'notifier' not found in /hermes/walnaweb13a/b2907/moo.directsilkcom/includes/autoload_func.php on line 79
20160121T002319: directsilk.com/index.php
PHP Fatal error: Class 'notifier' not found in /hermes/walnaweb13a/b2907/moo.directsilkcom/includes/autoload_func.php on line 79
20160121T002327: directsilk.com/index.php
PHP Fatal error: Class 'notifier' not found in /hermes/walnaweb13a/b2907/moo.directsilkcom/includes/autoload_func.php on line 79
20160121T002420: directsilk.com/index.php
PHP Fatal error: Call to a member function Execute() on a non-object in /hermes/walnaweb13a/b2907/moo.directsilkcom/includes/counter.php on line 23
20160121T002424: directsilk.com/index.php
PHP Fatal error: Call to a member function Execute() on a non-object in /hermes/walnaweb13a/b2907/moo.directsilkcom/includes/counter.php on line 23
20160121T002425: directsilk.com/index.php
PHP Fatal error: Call to a member function Execute() on a non-object in /hermes/walnaweb13a/b2907/moo.directsilkcom/includes/counter.php on line 23
20160121T002549: directsilk.com/index.php...................

the rest is the same counter.php error on line23