Forums / Installing on a Windows Server / PLEASE help--Renamed folder now there's no site

PLEASE help--Renamed folder now there's no site

Locked

Views: 1,879

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
5 Apr 2007, 3:59 AM
#1
robbyn7 avatar

robbyn7

Zen Follower

Join Date:
Dec 2006
Posts:
187
Plugin Contributions:
0

PLEASE help--Renamed folder now there's no site

I followed the Zen Cart tutorial and renamed my root folder. I also changed the name in the includes/configure.php and the admin/includes/configure.php folders. I'm able to log into the admin section but I'm unable to access my site www.foxxydiva.com. I receive the following error:
Fatal error: Call to undefined function: zen_check_url_get_terms() in /home/robbynsr/public_html/fashions/index.php on line 30

No idea how this could've happened because I never made a change to index.php.

Can someone please point me in the right direction. I've been searching and searching the forums and FAQ for over an hour and I'm lost and stuck.
Thanks in advance for your time.

5 Apr 2007, 4:05 AM
#2
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: PLEASE help--Renamed folder now there's no site

there are 4 places in the includes/configure.php that need to be changed make sure you got em all

Zen cart PCI compliant Hosting

6 Apr 2007, 2:22 PM
#3
robbyn7 avatar

robbyn7

Zen Follower

Join Date:
Dec 2006
Posts:
187
Plugin Contributions:
0

Re: PLEASE help--Renamed folder now there's no site

Thanks for the speedy reply.

Yes, I use Crimson Editor to make all changes. I've checked both configure.php files and everything is as it should be.

Any other suggestions?

Thanks for all your help.

6 Apr 2007, 3:55 PM
#4
robbyn7 avatar

robbyn7

Zen Follower

Join Date:
Dec 2006
Posts:
187
Plugin Contributions:
0

Re: PLEASE help--Renamed folder now there's no site

Sorry, meant to add my line 30 from index.php:
if ( ($category_depth == 'products') || (zen_check_url_get_terms()) ) {

Thanks

7 Apr 2007, 12:04 AM
#5
robbyn7 avatar

robbyn7

Zen Follower

Join Date:
Dec 2006
Posts:
187
Plugin Contributions:
0

Re: PLEASE help--Renamed folder now there's no site

Thanks for the reply,

Yes, I've made all the changes according to the instructions here. Here's my index.php line 30: if ( ($category_depth == 'products') || (zen_check_url_get_terms()) ) {

**And here's how my functions_general.php looks: **

// check to see if database stored GET terms are in the URL as $_GET parameters
function zen_check_url_get_terms() {
global $db;
$zp_sql = "select * from " . TABLE_GET_TERMS_TO_FILTER;
$zp_filter_terms = $db->Execute($zp_sql);
$zp_result = false;
while (!$zp_filter_terms->EOF) {
if (isset($_GET[$zp_filter_terms->fields['get_term_name']]) && zen_not_null($_GET[$zp_filter_terms->fields['get_term_name']])) $zp_result = true;
$zp_filter_terms->MoveNext();
}
return $zp_result;

Still can't seem to resolve this issue. Do I need to do a complete reinstall?

Thanks for your help.

7 Apr 2007, 12:06 AM
#6
robbyn7 avatar

robbyn7

Zen Follower

Join Date:
Dec 2006
Posts:
187
Plugin Contributions:
0

Re: PLEASE help--Renamed folder now there's no site

Oops...this is a repost! Sorry