If this is your first visit, check our documentation. To post, register or login.
Forums / Upgrading Your Zen Cart / Upgrading to 2.x.x / Display Debug Log Files Page Not Showing

Display Debug Log Files Page Not Showing

Started by celextel108 on 18 May 2024, 5:00 AM · Views: 1,844

Results 1 to 20 of 20
18 May 2024, 5:00 AM
#1
celextel108 avatar

celextel108

New Zenner

Join Date:
Sep 2022
Location:
Chennai
Posts:
38
Plugin Contributions:
0

Post #1 by celextel108

Demo Site URL: https://www.celextel.net/
ZC Version: v2.0.0
PHP Version: 8.2.18

We have just upgraded our old database from v1.5.8 to v2.0.0.

We have not added or changed any of the PHP Files except the configure files.

We have noticed that we are unable to view Display Debug Log Files page even though there are some log files. This link [index.php?cmd=display_logs] is showing only the Admin Index page.

Please guide me as to what to do in this regard.

Thanks,

18 May 2024, 6:26 AM
#2
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,906
Plugin Contributions:
23

Post #2 by dbltoe

celextel108:

We have not added or changed any of the PHP Files except the configure files.This is concerning and forces me to ask if the files you did not change or add to were 1.5.8 files or 2.0.0.

It sounds like your upgrade process was not quite what should have been done. https://docs.zen-cart.com/user/upgrading/detailed_upgrading/

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

18 May 2024, 6:31 AM
#3
celextel108 avatar

celextel108

New Zenner

Join Date:
Sep 2022
Location:
Chennai
Posts:
38
Plugin Contributions:
0

Post #3 by celextel108

dbltoe:

This is concerning and forces me to ask if the files you did not change or add to were 1.5.8 files or 2.0.0.

It sounds like your upgrade process was not quite what should have been done. https://docs.zen-cart.com/user/upgrading/detailed_upgrading/

All the PHP files are of v2.0.0. It is Fresh Install with only DB update. Nothing else changed or added. Thanks.

18 May 2024, 6:51 AM
#4
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,906
Plugin Contributions:
23

Post #4 by dbltoe

Yet all the meta tag settings are not default.

Did you replace the 2.0 database with your own and then run zc_install to upgrade the database?

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

18 May 2024, 7:20 AM
#5
celextel108 avatar

celextel108

New Zenner

Join Date:
Sep 2022
Location:
Chennai
Posts:
38
Plugin Contributions:
0

Post #5 by celextel108

dbltoe:

Did you replace the 2.0 database with your own and then run zc_install to upgrade the database?
Yes. We used our DB and used zc_install to upgrade the database.

18 May 2024, 7:24 AM
#6
celextel108 avatar

celextel108

New Zenner

Join Date:
Sep 2022
Location:
Chennai
Posts:
38
Plugin Contributions:
0

Post #6 by celextel108

dbltoe:

Yet all the meta tag settings are not default.
We have not done anything to change the default meta tag settings. They are showing some of our Category Names from DB. Our Live store is at celextel.com.

18 May 2024, 10:03 AM
#7
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Post #7 by simon1066

It would be worth checkinng Admin > Modules > Plugin Manager to make sure the Display Logs plugin is still installed & enabled.

Simon

18 May 2024, 10:12 AM
#8
celextel108 avatar

celextel108

New Zenner

Join Date:
Sep 2022
Location:
Chennai
Posts:
38
Plugin Contributions:
0

Post #8 by celextel108

simon1066:

It would be worth checking Admin > Modules > Plugin Manager to make sure the Display Logs plugin is still installed & enabled.
Display Logs plugin is Installed (Enabled). It showed us to upgrade to the newer version v3.0.2 and we did the same.

18 May 2024, 10:48 AM
#9
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,906
Plugin Contributions:
23

Post #9 by dbltoe

You need to give us all the steps you took to get where you are. There's something missing from the standard steps.

For instance, what template were you using before? Probably not the template_default being used now. Have you tried bringing over those files or just switching to the responsive_classic to see if the symptoms continue?

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

18 May 2024, 12:23 PM
#10
lat9 avatar

lat9

Administrator

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

Post #10 by lat9

dbltoe:

You need to give us all the steps you took to get where you are. There's something missing from the standard steps.

For instance, what template were you using before? Probably not the template_default being used now. Have you tried bringing over those files or just switching to the responsive_classic to see if the symptoms continue?
The template in use has no "play" in this issue, since Display Logs is an admin function.

@**celextel108****, **if you use your webhost's cPanel to view the site's /logs directory with the File Manager tool, what information does the most-recent myDEBUG-adm-*.log contain? Remember to xxx-out the name of your admin directory when posting back.

18 May 2024, 3:32 PM
#11
celextel108 avatar

celextel108

New Zenner

Join Date:
Sep 2022
Location:
Chennai
Posts:
38
Plugin Contributions:
0

Post #11 by celextel108

lat9:

@**celextel108****, **if you use your webhost's cPanel to view the site's /logs directory with the File Manager tool, what information does the most-recent myDEBUG-adm-*.log contain? Remember to xxx-out the name of your admin directory when posting back.

We are finding only one of myDEBUG-adm- log file and it contains the following:

[17-May-2024 22:23:01 America/Chicago] Request URI: /xxxmin/, IP address: 49.37.211.124, Language id not set
#0 [internal function]: zen_debug_error_handler()
#1 /home/domains/domains/celextel.net/public_html/xxxmin/includes/init_includes/init_cache_key_check.php(14): file_exists()
#2 /home/domains/domains/celextel.net/public_html/includes/autoload_func.php(40): require_once('/home/domains/d...')
#3 /home/domains/domains/celextel.net/public_html/xxxmin/includes/application_top.php(42): require('/home/domains/d...')
#4 /home/domains/domains/celextel.net/public_html/xxxmin/home.php(9): require('/home/domains/d...')
#5 /home/domains/domains/celextel.net/public_html/xxxmin/index.php(11): require('/home/domains/d...')
--> PHP Warning: file_exists(): open_basedir restriction in effect. File(/home/celextel/domains/celextel.com/public_html/cache) is not within the allowed path(s): (/home/domains/:/tmp:/var/tmp:/opt/alt/php81/usr/share/pear/:/dev/urandom:/usr/local/lib/php/:/usr/local/php81/lib/php/) in /home/domains/domains/celextel.net/public_html/xxxmin/includes/init_includes/init_cache_key_check.php on line 14.

There is nothing relevant to index.php?cmd=display_logs. We have clicked this link many times and it gets redirected to Admin directory.

9 debug-log files exist -> This message is seen right from the beginning. debug-log files have not increased.

Thanks.

18 May 2024, 5:42 PM
#12
lat9 avatar

lat9

Administrator

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

Post #12 by lat9

Yep, that log's got no bearing on your issue. If you use your webhost's phpMyAdmin tool and inspect the plugin_control table, what do you see for the "DisplayLogs" entry?

19 May 2024, 4:24 AM
#13
celextel108 avatar

celextel108

New Zenner

Join Date:
Sep 2022
Location:
Chennai
Posts:
38
Plugin Contributions:
0

Post #13 by celextel108

lat9:

Yep, that log's got no bearing on your issue. If you use your webhost's phpMyAdmin tool and inspect the plugin_control table, what do you see for the "DisplayLogs" entry?
unique_key: DisplayLogs
name: Display logs
description: Display and manage Zen Cart log files.
managed: 0
status: 1
author: Vinos de Frutas Tropicales (lat9)
version: v3.0.2
Attachment 20619

19 May 2024, 1:41 PM
#14
celextel108 avatar

celextel108

New Zenner

Join Date:
Sep 2022
Location:
Chennai
Posts:
38
Plugin Contributions:
0

Post #14 by celextel108

We are facing this issue only with our upgraded database from v1.5.8 to v2.0.0. This issue has not resolved even after Uninstalling and Installing this Plugin in Plugin Manager.

This issue is not seen in the new db of v2.0.0 with Demo Site.

Thanks.

19 May 2024, 2:29 PM
#15
lat9 avatar

lat9

Administrator

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

Post #15 by lat9

OK, I'm running out of ideas here, but it's starting to sound like a .php file mismatch between the code that's running the updated database and the code that's running the new database.

If both of those databases are on the same server, you could edit the "new-database" site's admin/includes/configure.php to use the database credentials of the "updated-database". Once that file change is made, log into the site's admin and attempt to go to index.php?cmd=display_logs.

If you're taken to the "display_logs" page, then there is a code mismatch between the two sites. If you're redirected back to the admin home page, then there's something in the database and I will need to find another way to diagnose this issue.

Don't forget to put the database credentials back for the "new-database" site!

19 May 2024, 3:24 PM
#16
celextel108 avatar

celextel108

New Zenner

Join Date:
Sep 2022
Location:
Chennai
Posts:
38
Plugin Contributions:
0

Post #16 by celextel108

We have already done this in the same website. Both of these databases are on the same server.

"new-database" with its configure.php credentials shows up the page of index.php?cmd=display_logs.

"updated-database" with its configure.php credentials does not show up the page of index.php?cmd=display_logs. Redirects to Admin Home Page. There's something in the database which is doing this.

We are retaining the database credentials of "updated-database" in our website.

Please suggest us another way to diagnose this issue.

Thanks.

19 May 2024, 4:33 PM
#17
lat9 avatar

lat9

Administrator

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

Post #17 by lat9

celextel108:

We have already done this in the same website. Both of these databases are on the same server.

"new-database" with its configure.php credentials shows up the page of index.php?cmd=display_logs.

"updated-database" with its configure.php credentials does not show up the page of index.php?cmd=display_logs. Redirects to Admin Home Page. There's something in the database which is doing this.

We are retaining the database credentials of "updated-database" in our website.

Please suggest us another way to diagnose this issue.

Thanks.
Right, but are both databases being run under the exact-same code to produce those differing results? That's what I am trying to understand.

20 May 2024, 1:40 AM
#18
celextel108 avatar

celextel108

New Zenner

Join Date:
Sep 2022
Location:
Chennai
Posts:
38
Plugin Contributions:
0

Post #18 by celextel108

lat9:

Right, but are both databases being run under the exact-same code to produce those differing results? That's what I am trying to understand.

I went through the installation process again yesterday for getting the "new-database" as I had only "updated-database". Immediately after that index.php?cmd=display_logs page was seen and I had deleted the log files.

I just tested again with both the credentials and index.php?cmd=display_logs does not show up in both these tests now. Website files are same in both these tests. It is strange. There are no log files.

We have retained the database credentials of "new-database" in our website now.

I would reply to your PM after getting reply to this.

Thanks.

20 May 2024, 1:18 PM
#19
lat9 avatar

lat9

Administrator

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

Post #19 by lat9

celextel108:

I went through the installation process again yesterday for getting the "new-database" as I had only "updated-database". Immediately after that index.php?cmd=display_logs page was seen and I had deleted the log files.

I just tested again with both the credentials and index.php?cmd=display_logs does not show up in both these tests now. Website files are same in both these tests. It is strange. There are no log files.

We have retained the database credentials of "new-database" in our website now.

I would reply to your PM after getting reply to this.

Thanks.
As indicated via that PM, a private link to a gzipped copy of the database will help me to figure out what the heck is going on.