Zen Cart Logo
Forums / General Questions / moved to new host/server and 2 things happening

moved to new host/server and 2 things happening

Views: 1,971

Results 1 to 20 of 22
16 Jun 2013, 7:52 AM
#1
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

moved to new host/server and 2 things happening

I did the move just like the document said to and ran the fix_cache_key.php too. all seems to go well, everything sort of works

  1. some of the items will show the category but no items are seen...yet they do show up in the search and other section they are copied to. I found that on one of the categories that did this---I turned off all items listed then turned them on, one by one and checked store...was able to find the culprit and just changed the image by sizing it down.

however I have tried this with this category and it did not work:

http://attic.thefantasiesattic.com/freebies/index.php?main_page=index&cPath=22

I am also getting this error when I check cache folder:
[16-Jun-2013 00:34:38 America/Los_Angeles] PHP Warning: substr() expects parameter 3 to be long, string given in /home/xxxxxxx/public_html/xxxxxxx/freebies/includes/functions/functions_general.php on line 1043

what else can I do?

16 Jun 2013, 9:17 AM
#2
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: moved to new host/server and 2 things happening

Well they are all back now, one had an image that was too large in kb and the one I linked to started showing once I made his category the main one.

Funny how that did not affect the other host/server.

now I just need to know what to do about the error I posted. I wrote to lunar pages to see what they have to say cause i can get up to 20 in one day and just cleared out 138 of them from the cache folder

16 Jun 2013, 11:26 AM
#3
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,091
Plugin Contributions:
56

Re: moved to new host/server and 2 things happening

DarkAngel:

... now I just need to know what to do about the error I posted. I wrote to lunar pages to see what they have to say cause i can get up to 20 in one day and just cleared out 138 of them from the cache folder
What version of PHP is being run for the new server? Unfortunately, function_general.php is just the victim here. Some other code called that module's zen_trunc_string function with a non-numeric length value.

16 Jun 2013, 8:53 PM
#4
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: moved to new host/server and 2 things happening

They responded with this:

Hello, The server where your account is hosted on is using PHP 5.3.25, Apache 2.2.24 and MySQL 5.5.30. Yes, you can revert the PHP version back to 5.2 by adding the following lines in public_html/.htaccess : AddHandler application/x-httpd-php52 .php5 .php4 .php .php3 .php2 .phtml AddType application/x-httpd-php52 .php5 .php4 .php .php3 .php2 .phtml

After I sent them the requirements listed in the docs of the store software. It should work just fine with their version but no idea why it gives me the error message.

today I have 22 fresh files in cache folder...some with the same complaint and several with this one: do you think I should download my DB and then delete the tables and reinstall again?

[16-Jun-2013 01:34:55 America/Los_Angeles] PHP Warning:  date() [<a href='function.date'>function.date</a>]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead in /home/xxxxxxxxx/public_html/attic/freebies/xxxxxxxxx/includes/languages/english/email_extras.php on line 40
[16-Jun-2013 01:34:55 America/Los_Angeles] PHP Warning:  date() [<a href='function.date'>function.date</a>]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead in /home/xxxxxxxxx/public_html/attic/freebies/includes/functions/specials.php on line 54
[16-Jun-2013 01:34:55 America/Los_Angeles] PHP Warning:  date() [<a href='function.date'>function.date</a>]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead in /home/xxxxxxxxx/public_html/attic/freebies/includes/functions/specials.php on line 29
[16-Jun-2013 01:34:55 America/Los_Angeles] PHP Warning:  date() [<a href='function.date'>function.date</a>]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead in /home/xxxxxxxxx/public_html/attic/freebies/includes/functions/featured.php on line 53
[16-Jun-2013 01:34:55 America/Los_Angeles] PHP Warning:  date() [<a href='function.date'>function.date</a>]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead in /home/xxxxxxxxx/public_html/attic/freebies/includes/functions/featured.php on line 29
[16-Jun-2013 01:34:55 America/Los_Angeles] PHP Warning:  date() [<a href='function.date'>function.date</a>]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead in /home/xxxxxxxxx/public_html/attic/freebies/includes/functions/salemaker.php on line 54
[16-Jun-2013 01:34:55 America/Los_Angeles] PHP Warning:  date() [<a href='function.date'>function.date</a>]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead in /home/xxxxxxxxx/public_html/attic/freebies/includes/functions/salemaker.php on line 29
[16-Jun-2013 01:34:55 America/Los_Angeles] PHP Warning:  date() [<a href='function.date'>function.date</a>]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead in /home/xxxxxxxxx/public_html/attic/freebies/xxxxxxxxx/includes/header.php on line 230
[16-Jun-2013 01:34:55 America/Los_Angeles] PHP Warning:  date() [<a href='function.date'>function.date</a>]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead in /home/xxxxxxxxx/public_html/attic/freebies/xxxxxxxxx/includes/footer.php on line 21
16 Jun 2013, 10:18 PM
#6
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: moved to new host/server and 2 things happening

Thank you DrB, I just did the two files and plopped them in as per instructions an now will give it a day or two and see if the cache files will be gone for good.

22 Jun 2013, 3:56 AM
#7
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: moved to new host/server and 2 things happening

I am still getting many of these in the cache folder...cleared out 30 yesterday. Just going to the main link will generate a file with sometimes up to 12 entries in it.

[21-Jun-2013 20:49:12 America/Los_Angeles] PHP Warning: substr() expects parameter 3 to be long, string given in /home/xxxxxxx/public_html/xxxxxxx/freebies/includes/functions/functions_general.php on line 1043

today there were 19 of these little buggers...lol

I went through and reuploaded each and every file for the store, each and every file for Zen Lightbox and IH3, these are the only 2 mods installed in here and still get the cache log file. I even ran the zc_install/upgrade/update DB.

the other problem seems to have vanished with the files that were created.

no idea what else to do here.

22 Jun 2013, 4:32 AM
#8
drbyte avatar

drbyte

Sensei

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

Re: moved to new host/server and 2 things happening

lat9 is correct. Somewhere you have either settings or non-original ZC code that is making calls to zen_trunc_string() with invalid parameters.

Two things you must do:
a) use Developers Toolkit to look up the following CONSTANTS and make sure ALL of their values are numeric. If you have words or spaces in ANY of them, those are causing some or all of your problems.
PRODUCT_LIST_DESCRIPTION
BEST_SELLERS_TRUNCATE
PRODUCT_ALL_LIST_DESCRIPTION
PRODUCT_FEATURED_LIST_DESCRIPTION
PRODUCT_NEW_LIST_DESCRIPTION

b) use Developers Toolkit to locate all calls to zen_trunc_string ... do this on both YOUR site and a brand NEW site using a fresh clean install of ZC. Compare the results. Any results in yours that are "extra" or not identical to the original, should be evaluated. I don't want to know anything about exact matches: those are fine.

22 Jun 2013, 4:33 AM
#9
drbyte avatar

drbyte

Sensei

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

Re: moved to new host/server and 2 things happening

DarkAngel:

I even ran the zc_install/upgrade/update DB.
And stop doing that unless you are ACTUALLY doing a ZC upgrade. Running it repeatedly without cause is not recommended.

22 Jun 2013, 4:55 AM
#10
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: moved to new host/server and 2 things happening

OK, will do what you say, will take a bit but will check back with results.

Could it make a difference in the files if I I have many things turned off. It is not a "real" store since there is no registration needed, there are no prices since it is set as a showcase and the download links are within the product description. It is where we have our freebies for anyone to grab and use.

The only thing we have are the products-no attributes, just images. No registration, no modules anywhere for tax, shipping, payment of anykind.

I did change the name from Merchants to Departments and the designers are the categories.

22 Jun 2013, 5:57 PM
#11
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: moved to new host/server and 2 things happening

alright, did as instructed but there were no files that miss matched in any way. What I ended up doing was deleting ALL store files (the ones you listed) and uploaded fresh ones.....still error in cache folder

removed the custom template and no errors found

put in a different template (comes with practically nothing) and used my stylesheet.css from our store and so far---no errors. Have install zen lightbox (gives no lightbox), IH3 (no popup), and three column grid for new and all roducts pages and column layout grid for main page

so far no errors in cache folder when logging out of ftp program or just refreshing the folder---I hope it is gone.

thanks guys, if this doesn't work then am at loss and will have to go with absolutely no add ons at all.

now to go fight with lightbox and IH3

22 Jun 2013, 7:43 PM
#12
drbyte avatar

drbyte

Sensei

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

Re: moved to new host/server and 2 things happening

DrByte:

Two things you must do:
a) use Developers Toolkit to look up the following CONSTANTS and make sure ALL of their values are numeric. If you have words or spaces in ANY of them, those are causing some or all of your problems.
PRODUCT_LIST_DESCRIPTION
BEST_SELLERS_TRUNCATE
PRODUCT_ALL_LIST_DESCRIPTION
PRODUCT_FEATURED_LIST_DESCRIPTION
PRODUCT_NEW_LIST_DESCRIPTION
What were the values for each of these?

22 Jun 2013, 8:45 PM
#13
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: moved to new host/server and 2 things happening

DrByte:

What were the values for each of these?

I will check again cause my computer crashed before i could save on text what the section in admin said and my files

which are using the zencart files for the store...have since removed all mods leaving only IH3 and zen lightbox.

it is most assuredly sick cause the files are the default store ones and the error seems to happen only when I click on the side boxes for navigating. going to home page, new items link in nav bar give no error...only when the links in the side boxes are used.

be back

forgot to add.....

I am supposed to use dev tools and enter that into the first spot that asks to **Look-up CONSTANT or Language File defines

cause when I did it comes up as zero found
**

22 Jun 2013, 8:56 PM
#14
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: moved to new host/server and 2 things happening

This is all that is written when I did the search

Look-up Functions or things in Function files

includes/functions/functions_general.php

Line #1035 : function zen_trunc_string($str = "", $len = 150, $more = 'true') {

Look-up Template things

includes/modules/product_listing.php

Line #96 : $lc_text = '<h3 class="itemTitle"><a href="' . zen_href_link(zen_get_info_page($listing->fields['products_id']), 'cPath=' . (($_GET['manufacturers_id'] > 0 and $_GET['filter_id'] > 0) ? zen_get_generated_category_path_rev($_GET['filter_id']) : ($_GET['cPath'] > 0 ? zen_get_generated_category_path_rev($_GET['cPath']) : zen_get_generated_category_path_rev($listing->fields['master_categories_id']))) . '&products_id=' . $listing->fields['products_id']) . '">' . $listing->fields['products_name'] . '</a></h3><div class="listingDescription">' . zen_trunc_string(zen_clean_html(stripslashes(zen_get_products_description($listing->fields['products_id'], $_SESSION['languages_id']))), PRODUCT_LIST_DESCRIPTION) . '</div>';

Line #185 : // 'text' => zen_trunc_string(zen_clean_html(stripslashes(zen_get_products_description($listing->fields['products_id'], $_SESSION['languages_id']))), PRODUCT_LIST_DESCRIPTION));

includes/modules/product_listing.php

Line #96 : $lc_text = '<h3 class="itemTitle"><a href="' . zen_href_link(zen_get_info_page($listing->fields['products_id']), 'cPath=' . (($_GET['manufacturers_id'] > 0 and $_GET['filter_id'] > 0) ? zen_get_generated_category_path_rev($_GET['filter_id']) : ($_GET['cPath'] > 0 ? zen_get_generated_category_path_rev($_GET['cPath']) : zen_get_generated_category_path_rev($listing->fields['master_categories_id']))) . '&products_id=' . $listing->fields['products_id']) . '">' . $listing->fields['products_name'] . '</a></h3><div class="listingDescription">' . zen_trunc_string(zen_clean_html(stripslashes(zen_get_products_description($listing->fields['products_id'], $_SESSION['languages_id']))), PRODUCT_LIST_DESCRIPTION) . '</div>';

Line #185 : // 'text' => zen_trunc_string(zen_clean_html(stripslashes(zen_get_products_description($listing->fields['products_id'], $_SESSION['languages_id']))), PRODUCT_LIST_DESCRIPTION));

includes/templates/template_default/sideboxes/tpl_best_sellers.php

Line #14 : $content .= '<li><a href="' . zen_href_link(zen_get_info_page($bestsellers_list[$i]['id']), 'products_id=' . $bestsellers_list[$i]['id']) . '">' . zen_trunc_string($bestsellers_list[$i]['name'], BEST_SELLERS_TRUNCATE, BEST_SELLERS_TRUNCATE_MORE) . '</a></li>' . "\n";

includes/templates/template_default/sideboxes/tpl_reviews_random.php

Line #15 : $content .= '<a href="' . zen_href_link(FILENAME_PRODUCT_REVIEWS_INFO, 'products_id=' . $random_review_sidebox_product->fields['products_id'] . '&reviews_id=' . $random_review_sidebox_product->fields['reviews_id']) . '">' . zen_image(DIR_WS_IMAGES . $random_review_sidebox_product->fields['products_image'], $random_review_sidebox_product->fields['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '<br />' . zen_trunc_string(nl2br(zen_output_string_protected(stripslashes($random_review_sidebox_product->fields['reviews_text']))), 60) . '</a><br /><br />' . zen_image(DIR_WS_TEMPLATE_IMAGES . 'stars_' . $random_review_sidebox_product->fields['reviews_rating'] . '.gif' , sprintf(BOX_REVIEWS_TEXT_OF_5_STARS, $random_review_sidebox_product->fields['reviews_rating']));

includes/templates/template_default/sideboxes/tpl_best_sellers.php

Line #14 : $content .= '<li><a href="' . zen_href_link(zen_get_info_page($bestsellers_list[$i]['id']), 'products_id=' . $bestsellers_list[$i]['id']) . '">' . zen_trunc_string($bestsellers_list[$i]['name'], BEST_SELLERS_TRUNCATE, BEST_SELLERS_TRUNCATE_MORE) . '</a></li>' . "\n";

includes/templates/template_default/sideboxes/tpl_reviews_random.php

Line #15 : $content .= '<a href="' . zen_href_link(FILENAME_PRODUCT_REVIEWS_INFO, 'products_id=' . $random_review_sidebox_product->fields['products_id'] . '&reviews_id=' . $random_review_sidebox_product->fields['reviews_id']) . '">' . zen_image(DIR_WS_IMAGES . $random_review_sidebox_product->fields['products_image'], $random_review_sidebox_product->fields['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '<br />' . zen_trunc_string(nl2br(zen_output_string_protected(stripslashes($random_review_sidebox_product->fields['reviews_text']))), 60) . '</a><br /><br />' . zen_image(DIR_WS_TEMPLATE_IMAGES . 'stars_' . $random_review_sidebox_product->fields['reviews_rating'] . '.gif' , sprintf(BOX_REVIEWS_TEXT_OF_5_STARS, $random_review_sidebox_product->fields['reviews_rating']));

includes/templates/template_default/templates/tpl_modules_products_all_listing.php

Line #111 : $display_products_description = stripslashes(zen_trunc_string($disp_text, PRODUCT_ALL_LIST_DESCRIPTION, '<a href="' . zen_href_link(zen_get_info_page($products_all->fields['products_id']), 'cPath=' . zen_get_generated_category_path_rev($products_all->fields['master_categories_id']) . '&products_id=' . $products_all->fields['products_id']) . '"> ' . MORE_INFO_TEXT . '</a>'));

includes/templates/template_default/templates/tpl_modules_products_featured_listing.php

Line #112 : $display_products_description = stripslashes(zen_trunc_string($disp_text, PRODUCT_FEATURED_LIST_DESCRIPTION, '<a href="' . zen_href_link(zen_get_info_page($featured_products->fields['products_id']), 'cPath=' . zen_get_generated_category_path_rev($featured_products->fields['master_categories_id']) . '&products_id=' . $featured_products->fields['products_id']) . '"> ' . MORE_INFO_TEXT . '</a>'));

includes/templates/template_default/templates/tpl_modules_products_new_listing.php

Line #110 : $display_products_description = stripslashes(zen_trunc_string($disp_text, PRODUCT_NEW_LIST_DESCRIPTION, '<a href="' . zen_href_link(zen_get_info_page($products_new->fields['products_id']), 'cPath=' . zen_get_generated_category_path_rev($products_new->fields['master_categories_id']) . '&products_id=' . $products_new->fields['products_id']) . '"> ' . MORE_INFO_TEXT . '</a>'));

includes/templates/template_default/templates/tpl_modules_products_all_listing.php

Line #111 : $display_products_description = stripslashes(zen_trunc_string($disp_text, PRODUCT_ALL_LIST_DESCRIPTION, '<a href="' . zen_href_link(zen_get_info_page($products_all->fields['products_id']), 'cPath=' . zen_get_generated_category_path_rev($products_all->fields['master_categories_id']) . '&products_id=' . $products_all->fields['products_id']) . '"> ' . MORE_INFO_TEXT . '</a>'));

includes/templates/template_default/templates/tpl_modules_products_featured_listing.php

Line #112 : $display_products_description = stripslashes(zen_trunc_string($disp_text, PRODUCT_FEATURED_LIST_DESCRIPTION, '<a href="' . zen_href_link(zen_get_info_page($featured_products->fields['products_id']), 'cPath=' . zen_get_generated_category_path_rev($featured_products->fields['master_categories_id']) . '&products_id=' . $featured_products->fields['products_id']) . '"> ' . MORE_INFO_TEXT . '</a>'));

includes/templates/template_default/templates/tpl_modules_products_new_listing.php

Line #110 : $display_products_description = stripslashes(zen_trunc_string($disp_text, PRODUCT_NEW_LIST_DESCRIPTION, '<a href="' . zen_href_link(zen_get_info_page($products_new->fields['products_id']), 'cPath=' . zen_get_generated_category_path_rev($products_new->fields['master_categories_id']) . '&products_id=' . $products_new->fields['products_id']) . '"> ' . MORE_INFO_TEXT . '</a>'));

23 Jun 2013, 2:51 AM
#15
drbyte avatar

drbyte

Sensei

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

Re: moved to new host/server and 2 things happening

Those look fine. So it suggests you've got letters or spaces, instead of numbers, in those Constants section.

And, yes, use the first field, about Lookup CONSTANTS. It should find it and bring you to a screen which explains the constant, and offers an Edit button as well.

23 Jun 2013, 3:56 AM
#16
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: moved to new host/server and 2 things happening

thank you DrB, I did just that and it brought up nothing, says
Searching 192 files ... for: zen_trunc_string

Match Lines found: 0
                  ![](http://attic.thefantasiesattic.com/freebies/asylum/images/icons/warning.gif) **Error:** No matching Configuration Keys were found ... zen_trunc_string

I even did this in a pristne uploaded store for testing with nothing but the software and nothing else...no mods, no templates and it still did it after I did the steps like you would for moving the store.

so,

now tomorrow I will attempt to remove the db tables and run the installer again for new tables...go into the admin and recreate some of the items new but mimic of the naughty one with names and stuff. then see if it still does it again with the sideboxes navigation.

23 Jun 2013, 4:51 AM
#17
drbyte avatar

drbyte

Sensei

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

Re: moved to new host/server and 2 things happening

Sigh.
In my last post I was accepting your results about zen_trunc_string searches, and was then asking about this:

DrByte:

a) use Developers Toolkit to look up the following CONSTANTS and make sure ALL of their values are numeric. If you have words or spaces in ANY of them, those are causing some or all of your problems.
PRODUCT_LIST_DESCRIPTION
BEST_SELLERS_TRUNCATE
PRODUCT_ALL_LIST_DESCRIPTION
PRODUCT_FEATURED_LIST_DESCRIPTION
PRODUCT_NEW_LIST_DESCRIPTION

23 Jun 2013, 5:39 AM
#18
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: moved to new host/server and 2 things happening

yes and as I told you, the results for constants about zen_trunc_string came back as empty no results. Did I do it wrong I entered the wording into the space then told it to look in all store/admin files and it said none found.

is there a way to hunt that down in specific named files

OK I think I understand now. you want me to enter those listed words into constants and get results.

sorry had an emergency and tried to get dentist since last thursday and finally got one this tuesday.

23 Jun 2013, 5:51 AM
#19
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: moved to new host/server and 2 things happening

Again I apologize for the misunderstanding of this aging mind. here is results

PRODUCT_LIST_DESCRIPTION
this one had nothing on its value line---so entered 0

BEST_SELLERS_TRUNCATE
value is set to 55

PRODUCT_ALL_LIST_DESCRIPTION
entered 0 in value line

PRODUCT_FEATURED_LIST_DESCRIPTION
value line was blank have set to 0

PRODUCT_NEW_LIST_DESCRIPTION
now has 0

I did not realize that in config there were to be no blanks and should have numbers there, I will go through all places and make sure those that are to have nothing or not showing get a 0 in there value line.

I tested so far by going to new products then using the department drop menu and then the actual designers name link and so far no more cache files.

thank you so very much

23 Jun 2013, 7:39 PM
#20
drbyte avatar

drbyte

Sensei

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

Re: moved to new host/server and 2 things happening

DarkAngel:

I tested so far by going to new products then using the department drop menu and then the actual designers name link and so far no more cache files.

thank you so very muchGreat! Glad it's working again as intended.

DarkAngel:

I did not realize that in config there were to be no blanks and should have numbers there, I will go through all places and make sure those that are to have nothing or not showing get a 0 in there value line.Careful. A better rule-of-thumb is to not touch original settings unless needed. And, if any setting has numbers in it and you want to change those numbers (ie: set them to 0), then continue using numbers (such as 0) instead of leaving them blank or putting letters, etc.
My point: sometimes "blank" means different than 0 ... so assuming blanks should be 0 is a little overzealous.