Site maintenance: Sun 15 Nov, from 12:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / Upgrading from 1.3.x to 1.3.9 / On one site, Developers Tool Kit failing to Look-up key or name in admin files

On one site, Developers Tool Kit failing to Look-up key or name in admin files

Locked

Started by frank18 on 5 Jun 2010, 3:58 AM · Views: 2,204

Results 1 to 19 of 19
This thread is locked. New replies are disabled.
5 Jun 2010, 3:58 AM
#1
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

On one site, Developers Tool Kit failing to Look-up key or name in admin files

My favorite toy Developers Tool Kit fails to Look-up any key or name in admin files.

Grabbing any existing known variable out of my admin file system and doing a search in the bottom field of Developers Tool Kit using All Files Look-ups: Admin and File type .php only returns

Match Lines found: 0
Warning Error: No matching Configuration Keys were found ...

although the searched variable definitely exists in various files

Zen Cart 1.3.9d
Database Patch Level: 1.3.9a
v1.3.9a [2010-04-20 15:18:34] (Version Update 1.3.8->1.3.9a)
v1.3.8 [2010-04-06 23:35:53] (Fresh Installation)

No problem doing a search in catalog files of this install and also works fine in my local install of another 1.3.9d store. Did a complete WinMerge file comparison between 1.3.9d install file set (admin) and my admin files - to no avail.

Can anyone shed a light on this please?

Thanks / Frank

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

5 Jun 2010, 9:38 AM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: On one site, Developers Tool Kit failing to Look-up key or name in admin files

Works OK for me on an upgrade to 1.3.9d and also a fresh 1.3.9d installation. The developers_tool_kit.php file was changed - maybe it got garbled during the upload ?

5 Jun 2010, 10:44 AM
#3
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: On one site, Developers Tool Kit failing to Look-up key or name in admin files

stevesh:

Works OK for me on an upgrade to 1.3.9d and also a fresh 1.3.9d installation. The developers_tool_kit.php file was changed - maybe it got garbled during the upload ?

Thanks Steve, looked at that file and re-uploaded. Then did another search for the variable $configuration_value and only searched admin ---- result = zilch :yuck:

The other store (fresh install of 1.3.9d) works just fine - that's what got me buggered........

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

5 Jun 2010, 10:53 AM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: On one site, Developers Tool Kit failing to Look-up key or name in admin files

That string shows up here in admin/configuration.php and admin/product_types.php. Maybe something wrong with those files?

5 Jun 2010, 10:58 AM
#5
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: On one site, Developers Tool Kit failing to Look-up key or name in admin files

stevesh:

That string shows up here in admin/configuration.php and admin/product_types.php. Maybe something wrong with those files?

Na, grabbed that string 'at random' from admin/configuration.php so I know it's there but still is a no-show in a search .... and the rest of the site, catalog, admin and all works just fine.

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

5 Jun 2010, 12:02 PM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: On one site, Developers Tool Kit failing to Look-up key or name in admin files

Rather weird that you are having this problem ... so far, I cannot reproduce it ... :unsure:

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!]
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!

5 Jun 2010, 12:08 PM
#7
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: On one site, Developers Tool Kit failing to Look-up key or name in admin files

Ajeh:

Rather weird that you are having this problem ... so far, I cannot reproduce it ... :unsure:

Yes, it is weird indeed - especially since I presently have 2 stores on 1.3.9d and one of the 2 doesn't want to play the search game in admin :wacko:

It is not really a major problem as everything else works a treat, but it is rather inconvenient if one wants to find something in the admin file structure :shocking:

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

5 Jun 2010, 1:05 PM
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: On one site, Developers Tool Kit failing to Look-up key or name in admin files

Other than deleting and replacing the file on the server I am not sure where else to go ...

Any weird permission settings perhaps?

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!]
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!

5 Jun 2010, 1:23 PM
#9
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: On one site, Developers Tool Kit failing to Look-up key or name in admin files

Ajeh:

.....Any weird permission settings perhaps?

Thanks Linda, that is one thing I have not looked at as yet - will be tomorrow though (just watching our own Sam Stoser having a go at hopefully winning the French Open ...)

I will keep you posted - thanks again.

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

5 Jun 2010, 9:49 PM
#10
vdecals avatar

vdecals

Zen Follower

Join Date:
Jun 2009
Location:
Sparta, TN
Posts:
166
Plugin Contributions:
0

Re: On one site, Developers Tool Kit failing to Look-up key or name in admin files

I've just begun to upgrade from 1.3.9b to 1.3.9d and notice that 1.3.9b has: /admin/developers_tool_kit.php;
1.3.9c has: /admin/developers_toolkit.php; and
1.3.9d has: /admin/developers_tool_kit.php

Which is the correct file naming to make 1.3.9d function properly?

My store - closed 12/05/2023
1.5.7d (upgraded from 1.5.7b), clone a template (cloned Responsive Classic Template), Sitemap XML v4.0, Square WebPay, PayPal Express Checkout, PHP Version: 7.4.29 (Zend: 3.4.0)

5 Jun 2010, 10:24 PM
#11
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: On one site, Developers Tool Kit failing to Look-up key or name in admin files

The filename has not changed in any of the versions ... perhaps you bumped the file and removed an underscore in the filename? :unsure:

You might look at that mispelled file to see what it is ... but it is not from a Zen Cart download ...

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!]
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!

5 Jun 2010, 11:15 PM
#12
vdecals avatar

vdecals

Zen Follower

Join Date:
Jun 2009
Location:
Sparta, TN
Posts:
166
Plugin Contributions:
0

Re: On one site, Developers Tool Kit failing to Look-up key or name in admin files

Ajeh:

The filename has not changed in any of the versions ... perhaps you bumped the file and removed an underscore in the filename? :unsure:

You might look at that mispelled file to see what it is ... but it is not from a Zen Cart download ...

Ajeh, You are correct! The Changelog for v1.3.9d lists without the underscore,
/admin/developers_toolkit.php
but the actual files have the underscore.

Thank you for such a cool tool & forum!:cool:

My store - closed 12/05/2023
1.5.7d (upgraded from 1.5.7b), clone a template (cloned Responsive Classic Template), Sitemap XML v4.0, Square WebPay, PayPal Express Checkout, PHP Version: 7.4.29 (Zend: 3.4.0)

6 Jun 2010, 12:53 AM
#13
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: On one site, Developers Tool Kit failing to Look-up key or name in admin files

Ajeh:

......Any weird permission settings perhaps?

The permissions of my developers_tool_kit.php file are set to 644, which appears to be correct.

I have been contemplating backing up all files and DB and then uploading the old 1.3.8a developers_tool_kit.php file to see if that would work for an admin search. BUT (and that's a big but) I am not certain what damage may be done using this veteran file for testing purposes :huh:

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

6 Jun 2010, 1:53 AM
#14
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: On one site, Developers Tool Kit failing to Look-up key or name in admin files

frank18:

.....I have been contemplating backing up all files and DB and then uploading the old 1.3.8a developers_tool_kit.php file to see if that would work for an admin search. BUT (and that's a big but) I am not certain what damage may be done using this veteran file for testing purposes :huh:

Abandoned that idea...

Recapping my findings so far:

Store 1 (search in admin works just fine):

local install for development

PHP Version: 5.2.9 (Zend: 2.2.0)
Database: MySQL 5.0.51a-community-nt
HTTP Server: Apache/2.2.11 (Win32) mod_ssl/2.2.11 OpenSSL/0.9.8i PHP/5.2.9

Zen Cart 1.3.9d
Database Patch Level: 1.3.9c
v1.3.9c [2010-05-29 00:15:45] (Version Update 1.3.8->1.3.9c)
v1.3.8 [2010-05-29 00:15:43] (Version Update 1.3.7->1.3.8)
v1.3.7 [2010-05-29 00:15:39] (Version Update 1.3.6->1.3.7)
v1.2.7 [2010-05-29 00:15:39] (Version Update 1.2.6->1.2.7)
v1.3.7.1 [2007-10-24 21:50:38] (Fresh Installation)

Store 2 (search in admin does not work):

live store

PHP Version: 5.2.13 (Zend: 2.2.0)
Database: MySQL 5.0.90-community-log
HTTP Server: Apache/2.2.15 (Unix) mod_ssl/2.2.15 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635

Zen Cart 1.3.9d
Database Patch Level: 1.3.9a
v1.3.9a [2010-04-20 15:18:34] (Version Update 1.3.8->1.3.9a)
v1.3.8 [2010-04-06 23:35:53] (Fresh Installation)

This server is protected with the Suhosin Extension 0.9.29


admin file systems are absolutely identical btw the 2 stores (apart from some obvious files such as file paths in configure.php etc)

Any other ideas please?

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

6 Jun 2010, 2:56 AM
#15
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: On one site, Developers Tool Kit failing to Look-up key or name in admin files

The Developers Tool Kit is totally different in v1.3.9 with multiple new options for searching ...

I have yet to repeat what is happening to you ...

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!]
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!

6 Jun 2010, 3:39 AM
#16
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: On one site, Developers Tool Kit failing to Look-up key or name in admin files

:clap:SOLVED:clap:

After systematically going through the lot again I found (through my own oversight and stupidity :blush:) that in line 60 of the admin/includes/configure.php file the admin name was not changed to my new admin name.

That line ofc defines the path to the admin file system

define('DIR_FS_ADMIN', '/home/MY_ACCOUNT/public_html/MY_ADMIN_NAME/');

Doing a search in the admin file system therefore did not produce any result whatsoever.

Gee, I better turn my computer off for the day and do some gardening ....:lamo:

Sorry for wasting the time of devs and fellow zenners :oops:

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

6 Jun 2010, 12:58 PM
#17
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: On one site, Developers Tool Kit failing to Look-up key or name in admin files

Thanks for the update and for posting the cause of this to "seemingly" not be functioning correctly ... :smile:

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!]
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!

6 Jun 2010, 1:17 PM
#18
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: On one site, Developers Tool Kit failing to Look-up key or name in admin files

Ajeh:

Thanks for the update and for posting the cause of this to "seemingly" not be functioning correctly ... :smile:

Yep, did it right on one store and buggered it up on the other ---- may be too confident - or too rushed???:shocking:

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

30 Sep 2010, 6:11 PM
#19
colosports avatar

colosports

Zen Follower

Join Date:
May 2005
Location:
Tampa, FL
Posts:
194
Plugin Contributions:
1

Re: On one site, Developers Tool Kit failing to Look-up key or name in admin files

frank18:

:clap:SOLVED:clap:

After systematically going through the lot again I found (through my own oversight and stupidity :blush:) that in line 60 of the admin/includes/configure.php file the admin name was not changed to my new admin name.

That line ofc defines the path to the admin file system

Doing a search in the admin file system therefore did not produce any result whatsoever.

Gee, I better turn my computer off for the day and do some gardening ....:lamo:

Sorry for wasting the time of devs and fellow zenners :oops:

frank18,
Thanks for posting your mistake. I did the same thing you did and now it's working again.

The Lord gave and the Lord has taken away; may the name of the Lord be praised (Job 1:21 NIV)