[Zen Cart] Installation Difficulty - application_top.php

Magic SEO URLs for Zen Cart.
lindasdd
Posts: 14
Joined: Thu Mar 13, 2008 8:17 pm

[Zen Cart] Installation Difficulty - application_top.php

Postby lindasdd » Thu Mar 13, 2008 8:21 pm

I added the required code to the application_top.php file as shown below:

Code: Select all

/**
 * load the autoloader interpreter code.
*/
require('includes/autoload_func.php');
include(DIR_WS_INCLUDES . 'magic_seo_url.php');
/**
 * load the counter code
**/


But, when I do that, the main page stops loading.

2.) When I add the .htaccess file and then change it to permissions 777 it disappears so I am unable to change it to 444.

-lindasdd

inveo
Inveo Support
Posts: 1281
Joined: Sat Feb 02, 2008 12:07 pm
Contact:

Re: [Zen Cart] Installation Difficulty - application_top.php

Postby inveo » Fri Mar 14, 2008 2:46 am

You have turned off debugging. Please place following code before installation line:

Code: Select all

ini_set('display_errors', '1');
error_reporting(E_ALL);

lindasdd
Posts: 14
Joined: Thu Mar 13, 2008 8:17 pm

Re: [Zen Cart] Installation Difficulty - application_top.php

Postby lindasdd » Fri Mar 14, 2008 6:09 am

Ok, now a page full of notes popped up and at the very bottom I see:
.......testsite/includes/init_includes/init_templates.php on line 78 Fatal error: Unable to read 67264 bytes in
......testsite/includes/magic_seo_url.php on line 0


Is that what I'm looking for?

I got this by putting the following in the application_top page:

Code: Select all

/**
 * load the autoloader interpreter code.
*/
ini_set('display_errors', '1');
error_reporting(E_ALL);
require('includes/autoload_func.php');
include(DIR_WS_INCLUDES . 'magic_seo_url.php');
/**
 * load the counter code
**/


If that is incorrect can you please provide more extensive directions. I don't know what the "installation line" is and I don't know which file you would like it placed in.

Regards,
lindasdd

inveo
Inveo Support
Posts: 1281
Joined: Sat Feb 02, 2008 12:07 pm
Contact:

Re: [Zen Cart] Installation Difficulty - application_top.php

Postby inveo » Fri Mar 14, 2008 6:13 am

Thats ok. It is common problem, please follow this post.