Zen Cart Logo
Forums / General Questions / installed e107, uninstalled, can't see home page anymore

installed e107, uninstalled, can't see home page anymore

Locked

Views: 11,935

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
1 Feb 2010, 8:47 PM
#1
goldie1 avatar

goldie1

New Zenner

Join Date:
Feb 2010
Posts:
5
Plugin Contributions:
0

installed e107, uninstalled, can't see home page anymore

Can someone tell me exactly how the home page is activated and exactly where all the files need to be? I installed e107, thinking it was a pagebuilding tool and it toasted my production zencart install. Now if you go to my domain, you get nothing, you used to get my old index.htm, but then I copied the index.php from the backup directory there, first the plain one, then from admin. I think (hope) everything is still there, maybe packages need to be rerun? Also, the e107 directories are all still there despite the uninstall, which wasn't much of an uninstall apparently. Any help would greatly be appreciated as soon as possible, since our site, such as it was, is down. Thanks in advance for any help.

1 Feb 2010, 9:28 PM
#2
kobra avatar

kobra

Black Belt

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

Re: installed e107, uninstalled, can't see home page anymore

What is e107??

Did you backup BEFORE doing this?

1 Feb 2010, 11:05 PM
#3
robwuk avatar

robwuk

Zen Follower

Join Date:
Aug 2005
Location:
United Kingdom
Posts:
458
Plugin Contributions:
0

Re: installed e107, uninstalled, can't see home page anymore

e107 is a content management program

If you had installed zencart on the root and then e107 can you not just put your zencart files back on the root, ie inde.php and any other file and folder that was altered by e107 uninstall.

You need to check the directory sctructure to see what has been removed to give you an idea what you need to put back on

Im sure you can just upload your zencart again BUT if reinstalling do not copy over the configure.php files from you /inclues and /admin.includes folders, oh and you would need the install directory too,im assuming zencart has been installed

Always backup before making big changes

Rob

2 Feb 2010, 12:46 AM
#4
goldie1 avatar

goldie1

New Zenner

Join Date:
Feb 2010
Posts:
5
Plugin Contributions:
0

Re: installed e107, uninstalled, can't see home page anymore

I'm in a hosted environment, so my stuff isn't installed in the root directory, if that's what you are meaning, and it looks like most everything is there, I can find the index php, but e107 changes the start file to news.php somewhere, either in MySQL or apache or somewhere, and its not executing the index.php, though it is right. It just shows a blank page. There are backup directories in some of the main directories, and if the e107 developers were good, some of it should be backed up. Most of it installs into its own directories, though on installation, it did make zencart non-functional because it switched the startup .php module. I just don't know if there is a configuration file as in oracle, or a shell script or something that directs the MySQL instance to startup running a certain package, or if that is handled by Apache.

Its sort of a simple question. I'm willing to deal with fallout from there on in, but I shouldn't have to reinstall just to get a php program to display as index.php.

The directory structures look okay, the same as far as zencart is concerned, for the most part.

If someone can just help me figure out how to get apache/mysql to boot the right page, it would help. Perhaps I'm having a permissions problem, I will check that as well. Thanks for the help, and I really don't want to reinstall, and don't see I should have to. Its like really "Microsoftish" I mean this is UNIX. As an x admin, I wouldn't want to have to back up off of tape for something like this. I realize I'm naive as far as this web stuff goes, but I'm trying to learn. Any direction here on config files. Is there a MySQL.ini? something like that?

2 Feb 2010, 3:41 AM
#5
drbyte avatar

drbyte

Sensei

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

Re: installed e107, uninstalled, can't see home page anymore

You're making it WAY too complicated for yourself.

  1. By "root", in website terms, the person above was referring to the "web root", which is probably your public_html or httpdocs or www folder.
  2. Zen Cart is "just files" (plus a connection to a database which runs in the MySQL engine somewhere separate from the website files). So, if something else has screwed up the files on your website, and all you want on that website is your Zen Cart ... AND you have a full backup of all the files of your site from BEFORE you installed whatever other tool broke everything, then just delete all the files and folders from your web-root, and restore your Zen Cart files.
    If the database hasn't been damaged, then your Zen Cart should "just work" by putting all the files back from your backup.

Now, if you don't have a backup, then it's naturally more complicated. As an "x admin", as you called yourself, I hope you have backups.

2 Feb 2010, 4:27 AM
#6
goldie1 avatar

goldie1

New Zenner

Join Date:
Feb 2010
Posts:
5
Plugin Contributions:
0

Re: installed e107, uninstalled, can't see home page anymore

I found an old post by you and ran the debug tool and am getting an error on the zen_get_languages function when calling my index.php. The index.php bears the zen cart intro. Perhaps the stored procedures, if there are some, need to be re-executed? or something? I can't honestly find anything, besides perhaps a path variable, maybe something like that is messed up. The file systems are intact, the files original, though perhaps environmental variables are missing. Just thought perhaps there might be an easier fix than a restore, but if the error messages aren't indicative enough to point to a particular error in a way that you can go to a file and fix it and there is no easy way to know what happened, then I guess I have to go through all that. BTW, in backing up the database to a second schema, I encountered another error under a different mysql username, my site would not come up, until I deleted the second schema. Worked fine after that, but could not see any logical reason why that would happen, but my experience is with Oracle and not MySQL. I left a post for the e407 people since their product toasted my fully functional zencart, which really wasn't hard to install, harder to customize. I just was hoping that there was some way to make a smaller fix. I need to upgrade and redesign. We made major modifications to make it our own and don't know if we're up for it again. Too many changes in too many places. I'll go grep for them, but after the upgrade, we will likely have to redo them anyway to get the new fixes and features. Yeah, we have backups, but all the custom files are there and the database hasn't changed. So we can do it. And I want to make sure I have them all.

2 Feb 2010, 4:47 AM
#7
drbyte avatar

drbyte

Sensei

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

Re: installed e107, uninstalled, can't see home page anymore

goldie1:

I ... am getting an error on the zen_get_languages function when calling my index.php.Earlier you mentioned that you put the admin version of index.php into the non-admin area. That might be causing it, because the files are WAY different from each other in terms of internal content.
goldie1:

Perhaps the stored procedures, if there are some, need to be re-executed?Again, you're complicating things. Zen Cart doesn't use stored procs in the v1.x version (which is the current series as of today).
goldie1:

besides perhaps a path variable, maybe something like that is messed up.If it is, then that's up to the server administrator to fix, as it's outside the scope of Zen Cart.
goldie1:

The file systems are intact, the files originalBut, you said you've moved files around, installed other stuff and tried to uninstall that other stuff but it left extra files and folders around. Doesn't sound too "intact" or "original" to me.
goldie1:

Just thought perhaps there might be an easier fix than a restoreA restore of the web-root folder and its subfolders takes all of a couple minutes. A lot less time that it's taken for either of us to write posts on this forum.

goldie1:

but if the error messages aren't indicative enough to point to a particular error in a way that you can go to a file and fix it and there is no easy way to know what happened, then I guess I have to go through all that.If the clutter you mentioned earlier is still present, then a clean slate is going to be a much better fix than trying to hack things apart line by line to figure out what might be busting something. Again, you're making it too complicated.

goldie1:

BTW, in backing up the database to a second schema, I encountered another error under a different mysql username, my site would not come up, until I deleted the second schema. Worked fine after that, but could not see any logical reason why that would happen, but my experience is with Oracle and not MySQL.Sounds like an odd thing, but again, it's a very simple database. A simple export+import is sufficient for doing a backup/restore as far as the database goes.
If you didn't give your e107 system the username/password of your Zen Cart database, then your Zen Cart data should be intact and shouldn't need any restoring.
goldie1:

I left a post for the e407 people since their product toasted my fully functional zencartI can't imagine you're going to get any help from them if you're not using their software anymore.

goldie1:

I just was hoping that there was some way to make a smaller fix.A restore of the PHP/etc files isn't that hard!

goldie1:

I need to upgrade and redesign. We made major modifications to make it our own and don't know if we're up for it again.I'm not sure how that's related to the current discussion.
goldie1:

Too many changes in too many places. I'll go grep for them, but after the upgrade, we will likely have to redo them anyway to get the new fixes and features.There are handy automated tools like WinMerge that make identifying changes and doing upgrades much less daunting than it first looks.

2 Feb 2010, 4:48 AM
#8
drbyte avatar

drbyte

Sensei

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

Re: installed e107, uninstalled, can't see home page anymore

goldie1:

I installed e107, thinking it was a pagebuilding tool and it toasted my production zencart install.
As I'm sure you'll now agree, it's always good to test new software, new tools, new addons, etc on a TEST site, and not on a LIVE site directly.
Same with doing upgrades.
That's why the Zen Cart upgrade-documentation includes that recommendation in the instructions.

2 Feb 2010, 1:31 PM
#9
robwuk avatar

robwuk

Zen Follower

Join Date:
Aug 2005
Location:
United Kingdom
Posts:
458
Plugin Contributions:
0

Re: installed e107, uninstalled, can't see home page anymore

Why don't you just try uploading the index.php file from your zencart zip to the server first to the root of your server (public_html folder)
as i reckon half your index.php files are the e107 and not zencart

See if that draws up the shop

all modifications to your zencart will still be there on the server, its probably just core files used by zencart that have been overwritten

Rob

2 Feb 2010, 9:27 PM
#10
goldie1 avatar

goldie1

New Zenner

Join Date:
Feb 2010
Posts:
5
Plugin Contributions:
0

Re: installed e107, uninstalled, can't see home page anymore

Is there a way, maybe an online archive, where I can get a copy of the original index.php? I notice that there are index.phps in a couple of directories, one just refences the domain and must redirect while the other has the meat and potatoes. I put the shorter one in there that is redirecting. I think maybe something was deleted--I installed both products through simple scripts installed to the default recommended directories. I'm going to delete the remaining e107 directories leftover from the uninstall and if there is a path problem, perhaps that will help, though I don't know where all the path/environmental variables may be set, besides my .profile, I'm sure there's apache and mysql files and other files for the apps. I can't believe it would touch the zencart stuff.

2 Feb 2010, 9:28 PM
#11
drbyte avatar

drbyte

Sensei

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

Re: installed e107, uninstalled, can't see home page anymore

You can get the original Zen Cart files using the download link here: https://www.zen-cart.com

2 Feb 2010, 10:37 PM
#12
goldie1 avatar

goldie1

New Zenner

Join Date:
Feb 2010
Posts:
5
Plugin Contributions:
0

Re: installed e107, uninstalled, can't see home page anymore

Dr. B,
Thanks!!! Copied the index.php from the zipped fileset and replaced it and everything is perfect!!! Guess the simple scripts install of e107 didn't back up the index.php in the public_html directory as it had in the other directories, somehow, it missed it.

Also, I deleted the e107 directories, which also helped, was hanging at least, trying. But the index.php was the trick. I can't see any dates in the file manager tool on the hosted site, which is terrible, so I couldn't tell if I was okay, couldn't telnet in and ls or anything.

Now to backup and try the upgrade. Thanks so much for the help. This is what makes open source worth it. Eventually, I will understand zencart. It is just complex coming at it new, especially if you don't have web development experience. I just did Oracle/Unix, and cut and pasted in html our web developer generated. Can do a little, but lack headspace sometimes. Thanks again!!!:clap: https://www.georgiacichlids.com

Still trying to figure out how to do shipping for fish.