I'm looking for a variable, but it shouldn't matter. Why would "All Files: Catalog" = only 6 files?
I'm looking for a variable, but it shouldn't matter. Why would "All Files: Catalog" = only 6 files?
Which of the input boxes are you using and what are you selecting from the dropdown?
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Version 1.3.6
searched for "tpl" in look-up in all files All Files: Catalog.
results: 1018 files searched, 650 matches found.
I'm using the very last search field & button at the bottom of the page.
I also tried searching for just 'tpl' and got only 1 hit out of still only 6 pages searched.
Thanks for your help. I hope it's just something on my end. (No admin mods except GoogleSiteMap, but many of my own tweaks on the catalog side, staying within the override structure as much as possible.)
Well, since no one is offering any ideas, I'm left to my own devices. I've solved the problem by commenting out lines 418 & 420 of admin/developers_tool_kit.php because DIR_WS_ADMIN has nothing to do with all catalog.
If the devs care to explain lines 418 & 420, I'm all ears.PHP Code:
case (2): // all catalog
$zv_check_root = true;
$filename_listing = '';
$check_directory = array();
$sub_dir_files = array();
getDirList(DIR_FS_CATALOG . DIR_WS_INCLUDES);
$sub_dir_files_catalog = $sub_dir_files;
$check_dir = array_merge($sub_dir_files_catalog);
for ($i = 0, $n = sizeof($check_dir); $i < $n; $i++) {
$zv_add_dir= str_replace('//', '/', $check_dir[$i] . '/');
//if (strstr($zv_add_dir, DIR_WS_ADMIN) == '') {
$check_directory[] = $zv_add_dir;
//}
}
break;
OK, more testing and a better solution. Switching the strstr to strpos in line 418 works, and it's probably a hair faster.PHP Code:
if (!strpos($zv_add_dir, DIR_WS_ADMIN)) {
Last edited by texdc; 4 Dec 2006 at 05:38 AM.
Bookmarks