Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Fatal Error NEED HELP

Fatal Error NEED HELP

Locked

Views: 900

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
8 Dec 2007, 7:52 PM
#1
dravenls avatar

dravenls

New Zenner

Join Date:
Nov 2007
Location:
Ohio
Posts:
70
Plugin Contributions:
0

Fatal Error NEED HELP

i keep getting this error when I try to go to my store/admin

Warning: require(/home/midrealm/public_html/store/catalog/includes/autoload_func.php) [function.require]: failed to open stream: No such file or directory in /home/midrealm/public_html/store/admin/includes/application_top.php on line 149

Fatal error: require() [function.require]: Failed opening required '/home/midrealm/public_html/store/catalog/includes/autoload_func.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/midrealm/public_html/store/admin/includes/application_top.php on line 149

How do I fix this, please help.:oops:

8 Dec 2007, 8:07 PM
#2
birdoasis avatar

birdoasis

Inactive

Join Date:
Jun 2005
Location:
Cheney WA
Posts:
1,123
Plugin Contributions:
0

Re: Fatal Error NEED HELP

Make sure you have the right paths in the following files.

/includes/configure.php
/admin/includes/configure.php

8 Dec 2007, 8:15 PM
#3
dravenls avatar

dravenls

New Zenner

Join Date:
Nov 2007
Location:
Ohio
Posts:
70
Plugin Contributions:
0

Re: Fatal Error NEED HELP

I thought i did, but apparently I don't have it right for catalog and can't figure what to change it to

8 Dec 2007, 8:22 PM
#4
dravenls avatar

dravenls

New Zenner

Join Date:
Nov 2007
Location:
Ohio
Posts:
70
Plugin Contributions:
0

Re: Fatal Error NEED HELP

I had tried to send my store folder to my public_html so the site would go directly to the store. but that didn't work out. so I decided just to send it back and make my front page an entrance image. however, i'm having the same prob as I i did after i relocated my zen cart files to public_html. I think I might have messed up the path to the catalog, but can't figure out how to fix it.:oops: where do I find the catalog in zen cart so I know where to direct it to ?

8 Dec 2007, 8:27 PM
#5
birdoasis avatar

birdoasis

Inactive

Join Date:
Jun 2005
Location:
Cheney WA
Posts:
1,123
Plugin Contributions:
0

Re: Fatal Error NEED HELP

It's going to be like this.

http://yoururl.com/store/catalog

your admin should be http://yoururl.com/store/catalog/admin

however looking at the paths in your error message you have admin in

http://yoururl.com/store/admin so make your admin path the same as this one.

In other words you have your admin folder at the same level as your catalog which can be a good security measure. But you have to have your path set properly in your configure.php file.

8 Dec 2007, 8:39 PM
#6
birdoasis avatar

birdoasis

Inactive

Join Date:
Jun 2005
Location:
Cheney WA
Posts:
1,123
Plugin Contributions:
0

Re: Fatal Error NEED HELP

Ok,

To get your store to the public_html folder, copy the files back in there like before but leave them in the old folders as well just in case.

in /includes/configure.php
Line 17 and 18

[B]define('HTTP_SERVER', 'http://yoururl.com');
  define('HTTPS_SERVER', 'https://yoururl.com');[/B]
```** 

Copy the admin folder to this address.

/public_html/admin/

But rename the folder to something else for security reasons, for now lets call it happy.  so the admin folder is now the happy folder.

in /happy/includes/configure.php change the following.

Line 21-22

**```
[B]  define('HTTP_SERVER', 'http://yoururl.com');
  define('HTTPS_SERVER', 'https://yoururl.com');
  define('HTTP_CATALOG_SERVER', 'http://yoururl.com');
  define('HTTPS_CATALOG_SERVER', 'https://yoururl.com');
[/B]

**Line 41-44

**```
[B]
define('DIR_WS_ADMIN', '/happy/');
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_ADMIN', '/happy/');
define('DIR_WS_HTTPS_CATALOG', '/');[/B]

**
Line 60-61**

[B]define('DIR_FS_ADMIN','/home/username/public_html/happy/');
define('DIR_FS_CATALOG','/home/username/public_html/');[/B]

8 Dec 2007, 8:43 PM
#7
dravenls avatar

dravenls

New Zenner

Join Date:
Nov 2007
Location:
Ohio
Posts:
70
Plugin Contributions:
0

Re: Fatal Error NEED HELP

hmmm, now getting server not found. would it be easier just to uninstall zen cart and start over by reinstalling it ? if that's possible

8 Dec 2007, 8:59 PM
#8
dravenls avatar

dravenls

New Zenner

Join Date:
Nov 2007
Location:
Ohio
Posts:
70
Plugin Contributions:
0

Re: Fatal Error NEED HELP

birdoasis:

Ok,

To get your store to the public_html folder, copy the files back in there like before but leave them in the old folders as well just in case.

in /includes/configure.php
Line 17 and 18

[B]define('HTTP_SERVER', 'http://yoururl.com');
define('HTTPS_SERVER', 'https://yoururl.com');[/B]

> 
> Copy the admin folder to this address.
> 
> /public_html/admin/
> 
> But rename the folder to something else for security reasons, for now lets call it happy.  so the admin folder is now the happy folder.
> 
> in /happy/includes/configure.php change the following.
> 
> Line 21-22
> 
> **```
[B]  define('HTTP_SERVER', 'http://yoururl.com');
  define('HTTPS_SERVER', 'https://yoururl.com');
  define('HTTP_CATALOG_SERVER', 'http://yoururl.com');
  define('HTTPS_CATALOG_SERVER', 'https://yoururl.com');
[/B]

**Line 41-44

**```
[B]
define('DIR_WS_ADMIN', '/happy/');
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_ADMIN', '/happy/');
define('DIR_WS_HTTPS_CATALOG', '/');[/B]

> **
> Line 60-61**
> ```
[B]define('DIR_FS_ADMIN','/home/username/public_html/happy/');
  define('DIR_FS_CATALOG','/home/username/public_html/');[/B]

Ok, I got that part done. I used the admin/includes/dist-configure.php from my unzipped zen cart

9 Dec 2007, 12:33 AM
#9
birdoasis avatar

birdoasis

Inactive

Join Date:
Jun 2005
Location:
Cheney WA
Posts:
1,123
Plugin Contributions:
0

Re: Fatal Error NEED HELP

Is your site up and working now?