Forums / Setting Up Categories, Products, Attributes / i have tons of debug logs

i have tons of debug logs

Views: 8,808

Results 41 to 60 of 98
15 Oct 2012, 5:13 PM
#41
dashizna avatar

dashizna

Zen Follower

Join Date:
Mar 2006
Posts:
424
Plugin Contributions:
0

i have tons of debug logs

I think i figured out the screwup on my end i uploaded the same config file somehow to both sections Thanks for bringing up the files

cause i wouldn't have compared them in winmerge and noticed they were the exact same. So hopfully that fixes my
"[12-Oct-2012 21:36:13] PHP Fatal error: 1062uplicate entry 'zc_01816214277b5bb819a08194522eb8b9' for key 'PRIMARY' :: insert into zen_db_cache set cache_entry_name = 'zc_01816214277b5bb819a08194522eb8b9',"

problem

We sell ATV, Dirtbike, Streetbike, Snowmobile, Watercraft & Custom stickers & Banners. Check us out https://www.AD-DiscountPerformance.com

15 Oct 2012, 5:23 PM
#42
dashizna avatar

dashizna

Zen Follower

Join Date:
Mar 2006
Posts:
424
Plugin Contributions:
0

Re: i have tons of debug logs

Well i guess i couldn't be so lucky still getting this one

[15-Oct-2012 11:17:56] PHP Fatal error: 1062:Duplicate entry 'zc_7eb4ed1f36d90140477d9474b61e0e26' for key 'PRIMARY' :: insert into zen_db_cache set cache_entry_name = 'zc_7eb4ed1f36d90140477d9474b61e0e26'

We sell ATV, Dirtbike, Streetbike, Snowmobile, Watercraft & Custom stickers & Banners. Check us out https://www.AD-DiscountPerformance.com

15 Oct 2012, 5:29 PM
#43
drbyte avatar

drbyte

Sensei

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

Re: i have tons of debug logs

Maybe this bandage will work temporarily: In your configure.php files, set the SQL_CACHE_METHOD to none:

define('SQL_CACHE_METHOD', 'none');

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

15 Oct 2012, 5:48 PM
#44
dashizna avatar

dashizna

Zen Follower

Join Date:
Mar 2006
Posts:
424
Plugin Contributions:
0

Re: i have tons of debug logs

Ok i made that change

now i just got this one

[15-Oct-2012 11:46:16] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'DIR_WS_TEMPLATEStemplate_default/common/html_header.php' (include_path='.:/usr/lib64/php:/usr/lib/php:/usr/share/pear') in /home2/pwcforum/public_html/index.php on line 43

We sell ATV, Dirtbike, Streetbike, Snowmobile, Watercraft & Custom stickers & Banners. Check us out https://www.AD-DiscountPerformance.com

15 Oct 2012, 5:54 PM
#45
dashizna avatar

dashizna

Zen Follower

Join Date:
Mar 2006
Posts:
424
Plugin Contributions:
0

Re: i have tons of debug logs

also the website is throwing a Http 500 error now also and this just happened it was working fine.

We sell ATV, Dirtbike, Streetbike, Snowmobile, Watercraft & Custom stickers & Banners. Check us out https://www.AD-DiscountPerformance.com

15 Oct 2012, 7:30 PM
#46
drbyte avatar

drbyte

Sensei

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

Re: i have tons of debug logs

Dashizna:

Ok i made that change

now i just got this one

[15-Oct-2012 11:46:16] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'DIR_WS_TEMPLATEStemplate_default/common/html_header.php' (include_path='.:/usr/lib64/php:/usr/lib/php:/usr/share/pear') in /home2/pwcforum/public_html/index.php on line 43

That's typical of having invalid /includes/configure.php file contents.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

15 Oct 2012, 7:33 PM
#47
dashizna avatar

dashizna

Zen Follower

Join Date:
Mar 2006
Posts:
424
Plugin Contributions:
0

Re: i have tons of debug logs

file permissions changed to write only for some reason

We sell ATV, Dirtbike, Streetbike, Snowmobile, Watercraft & Custom stickers & Banners. Check us out https://www.AD-DiscountPerformance.com

16 Oct 2012, 4:39 AM
#48
dashizna avatar

dashizna

Zen Follower

Join Date:
Mar 2006
Posts:
424
Plugin Contributions:
0

Re: i have tons of debug logs

Ok heres is latest one i can't figure out.

its easy_populate_csv_for_zencart_v1.5 http://www.zen-cart.com/downloads.php?do=file&id=868

Here is the debugs im getting at this time

  1. [15-Oct-2012 19:23:19] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 82 bytes) in /home2/***************/public_html/includes/classes/db/mysql/query_factory.php on line 254

  2. [15-Oct-2012 19:06:24] PHP Fatal error: 1062:Duplicate entry 'easyPopulate' for key 'page_key' :: INSERT INTO zen_admin_pages VALUES ('easyPopulate', 'BOX_TOOLS_EASY_POPULATE', 'FILENAME_EASYPOPULATE', '', 'tools', 'Y', '14'); in /home2/**********/public_html/includes/classes/db/mysql/query_factory.php on line 120

  3. [15-Oct-2012 19:23:02] PHP Warning: include() [<a href='function.include'>function.include</a>]: Failed opening '/home2/**********/public_html/EASYPOPULATE_CONFIG_TEMP_DIR/fileList.php' for inclusion (include_path='.:/usr/lib64/php:/usr/lib/php:/usr/share/pear') in /home2/********/public_htm/admin/easypopulate.php on line 2438

  4. [15-Oct-2012 19:16:43] PHP Fatal error:  Allowed memory size of 67108864 bytes exhausted (tried to allocate 71 bytes) in /home2/******/public_html/admin/easypopulate.php on line 1159
    
  5. [15-Oct-2012 19:22:42] PHP Warning:  mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home2/***********/public_html/admin/easypopulate.php on line 852
    
  6. [15-Oct-2012 19:22:42] PHP Warning:  include() [<a href='function.include'>function.include</a>]: Failed opening '/home2/pwcforum/public_html/EASYPOPULATE_CONFIG_TEMP_DIR/fileList.php' for inclusion (include_path='.:/usr/lib64/php:/usr/lib/php:/usr/share/pear') in /home2/************/public_html/Admin/easypopulate.php on line 2438
    
  7. [15-Oct-2012 19:04:39] PHP Warning:  mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home2/*********/public_html/ADMIN/easypopulate.php on line 852
    
  8. [15-Oct-2012 19:04:39] PHP Warning:  include() [<a href='function.include'>function.include</a>]: Failed opening '/home2/*************/public_html/EASYPOPULATE_CONFIG_TEMP_DIR/fileList.php' for inclusion (include_path='.:/usr/lib64/php:/usr/lib/php:/usr/share/pear') in /home2/***********/public_html/Admin/easypopulate.php on line 2438
    
  9. [15-Oct-2012 19:00:45] PHP Fatal error:  1062:Duplicate entry 'easyPopulate' for key 'page_key' :: INSERT INTO zen_admin_pages VALUES ('easyPopulate', 'BOX_TOOLS_EASY_POPULATE', 'FILENAME_EASYPOPULATE', '', 'tools', 'Y', '14'); in /home2/************/public_html/includes/classes/db/mysql/query_factory.php on line 120
    

I hope i can get this fixed.

We sell ATV, Dirtbike, Streetbike, Snowmobile, Watercraft & Custom stickers & Banners. Check us out https://www.AD-DiscountPerformance.com

16 Oct 2012, 4:50 AM
#49
drbyte avatar

drbyte

Sensei

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

Re: i have tons of debug logs

Haven't used that version of EP. Probably never will, especially since a newer one is available, written specifically for v1.5.x and newer.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

16 Oct 2012, 4:51 AM
#50
dashizna avatar

dashizna

Zen Follower

Join Date:
Mar 2006
Posts:
424
Plugin Contributions:
0

Re: i have tons of debug logs

ok what one should i use im not attached to any of them ill use a different one i just want one that works

We sell ATV, Dirtbike, Streetbike, Snowmobile, Watercraft & Custom stickers & Banners. Check us out https://www.AD-DiscountPerformance.com

16 Oct 2012, 4:59 AM
#51
dashizna avatar

dashizna

Zen Follower

Join Date:
Mar 2006
Posts:
424
Plugin Contributions:
0

Re: i have tons of debug logs

i removed all the easy populate files and the easy populate is still in the configuration drop down ??

We sell ATV, Dirtbike, Streetbike, Snowmobile, Watercraft & Custom stickers & Banners. Check us out https://www.AD-DiscountPerformance.com

16 Oct 2012, 4:59 AM
#52
drbyte avatar

drbyte

Sensei

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

Re: i have tons of debug logs

Holy smokes, I was just doing a search for Easy Populate and the number of posts you've made on this same issue are staggering!

EP 4.0 - http://www.zen-cart.com/showthread.php?190417-EasyPopulate-4-0-Support-Thread

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

16 Oct 2012, 5:06 AM
#53
dashizna avatar

dashizna

Zen Follower

Join Date:
Mar 2006
Posts:
424
Plugin Contributions:
0

Re: i have tons of debug logs

cool this one looks like it will work.

But how to do i remove the old easy populate that is in the drop down

We sell ATV, Dirtbike, Streetbike, Snowmobile, Watercraft & Custom stickers & Banners. Check us out https://www.AD-DiscountPerformance.com

16 Oct 2012, 5:15 AM
#54
dashizna avatar

dashizna

Zen Follower

Join Date:
Mar 2006
Posts:
424
Plugin Contributions:
0

Re: i have tons of debug logs

now i just have one more so far and thats the attributes controller problem.

We sell ATV, Dirtbike, Streetbike, Snowmobile, Watercraft & Custom stickers & Banners. Check us out https://www.AD-DiscountPerformance.com

16 Oct 2012, 1:31 PM
#55
ajeh avatar

ajeh

Oba-san

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

Re: i have tons of debug logs

Did you look at this other post you had on this issue for the Attributes/products_options_values ...
http://www.zen-cart.com/showthread.php?200551-OPEN-CHANGE-352-Attributes-controller-fatal-error-after-upgrade&p=1157460#post1157460

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!

16 Oct 2012, 2:02 PM
#56
dashizna avatar

dashizna

Zen Follower

Join Date:
Mar 2006
Posts:
424
Plugin Contributions:
0

Re: i have tons of debug logs

i never got anything on it sorry. i just replied to it thanks

We sell ATV, Dirtbike, Streetbike, Snowmobile, Watercraft & Custom stickers & Banners. Check us out https://www.AD-DiscountPerformance.com

16 Oct 2012, 8:18 PM
#57
dashizna avatar

dashizna

Zen Follower

Join Date:
Mar 2006
Posts:
424
Plugin Contributions:
0

Re: i have tons of debug logs

DrByte:

Argh.

There's another bug. The original fix didn't take table-prefixes into account.

Change this:$db->Execute("INSERT INTO [B]products_options_values[/B] (products_options_values_id, language_id, products_options_values_name) VALUES ((int)PRODUCTS_OPTIONS_VALUES_TEXT_ID, " . (int)$languages[$i]['id'] . ", 'TEXT')"); to this:```
$db->Execute("INSERT INTO[B] " . TABLE_PRODUCTS_OPTIONS_VALUES . "[/B] (products_options_values_id, language_id, products_options_values_name) VALUES ((int)PRODUCTS_OPTIONS_VALUES_TEXT_ID, " . (int)$languages[$i]['id'] . ", 'TEXT')");

> 
> This situation didn't show up in initial testing because the testing database didn't have two sets of data in it like Dashizna's does. (you should clean that up, BTW)

ok i did that and now i get 

[16-Oct-2012 14:18:13] PHP Fatal error:  1062:Duplicate entry '0-1' for key 'PRIMARY' :: INSERT INTO products_options_values (products_options_values_id, language_id, products_options_values_name) VALUES (0, 1, 'TEXT') in /home2/pwcforum/public_html/includes/classes/db/mysql/query_factory.php on line 120

We sell ATV, Dirtbike, Streetbike, Snowmobile, Watercraft & Custom stickers & Banners. Check us out https://www.AD-DiscountPerformance.com

16 Oct 2012, 8:23 PM
#58
dashizna avatar

dashizna

Zen Follower

Join Date:
Mar 2006
Posts:
424
Plugin Contributions:
0

Re: i have tons of debug logs

opps my bad looking at the wrong thing in the drop down

We sell ATV, Dirtbike, Streetbike, Snowmobile, Watercraft & Custom stickers & Banners. Check us out https://www.AD-DiscountPerformance.com

16 Oct 2012, 8:37 PM
#59
drbyte avatar

drbyte

Sensei

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

Re: i have tons of debug logs

Does that mean the problem has now gone away?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

16 Oct 2012, 8:38 PM
#60
dashizna avatar

dashizna

Zen Follower

Join Date:
Mar 2006
Posts:
424
Plugin Contributions:
0

Re: i have tons of debug logs

DrByte:

Does that mean the problem has now gone away?

nope still there

We sell ATV, Dirtbike, Streetbike, Snowmobile, Watercraft & Custom stickers & Banners. Check us out https://www.AD-DiscountPerformance.com