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

i have tons of debug logs

Views: 8,808

Results 81 to 98 of 98
18 Oct 2012, 5:44 AM
#81
dashizna avatar

dashizna

Zen Follower

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

i have tons of debug logs

admin/includes config

<?php /** * @package Configuration Settings circa 1.3.8 * @copyright Copyright 2003-2007 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 */ /*************** NOTE: This file is similar, but DIFFERENT from the "store" version of configure.php. ***********/ /*************** The 2 files should be kept separate and not used to overwrite each other. ***********/ // Define the webserver and path parameters // Main webserver: eg-http://www.your_domain.com - // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com // HTTP_CATALOG_SERVER is your Main webserver: eg-http://www.your_domain.com // HTTPS_CATALOG_SERVER is your Secure webserver: eg-https://www.your_domain.com /* * URLs for your site will be built via: * HTTP_SERVER plus DIR_WS_ADMIN or * HTTPS_SERVER plus DIR_WS_HTTPS_ADMIN or * HTTP_SERVER plus DIR_WS_CATALOG or * HTTPS_SERVER plus DIR_WS_HTTPS_CATALOG * ...depending on your system configuration settings * * If you desire your *entire* admin to be SSL-protected, make sure you use a "https:" URL for all 4 of the following: */ define('HTTP_SERVER', 'http://ad-discountperformance.com'); define('HTTPS_SERVER', 'https://ad-discountperformance.com'); define('HTTP_CATALOG_SERVER', 'http://ad-discountperformance.com'); define('HTTPS_CATALOG_SERVER', 'https://ad-discountperformance.com'); // Use secure webserver for catalog module and/or admin areas? define('ENABLE_SSL_CATALOG', 'true'); define('ENABLE_SSL_ADMIN', 'true'); // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes! // * DIR_WS_* = Webserver directories (virtual/URL) // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder) define('DIR_WS_ADMIN', '/***********//'); define('DIR_WS_CATALOG', '/'); define('DIR_WS_HTTPS_ADMIN', '/***********//'); define('DIR_WS_HTTPS_CATALOG', '/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/'); define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/'); // * DIR_FS_* = Filesystem directories (local/physical) //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/ define('DIR_FS_ADMIN', '/home2/***********//public_html/***********//'); define('DIR_FS_CATALOG', '/home2/***********//public_html/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); // define our database connection define('DB_TYPE', 'mysql'); define('DB_PREFIX', 'zen_'); define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', '***********/'); define('DB_SERVER_PASSWORD', '***********/'); define('DB_DATABASE', '***********/'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'db'); // use 'db' for best support, or '' for file-based storage // The next 2 "defines" are for SQL cache support. // For SQL_CACHE_METHOD, you can select from: none, database, or file // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash define('SQL_CACHE_METHOD', 'none'); define('DIR_FS_SQL_CACHE', '/home2/***********//public_html/cache'); // EOF

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

18 Oct 2012, 1:37 PM
#82
ajeh avatar

ajeh

Oba-san

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

Re: i have tons of debug logs

While this may be due to your editing, make sure there are no lines with double // in the defines ...

You are using the tables with the prefix zen_ on them ...

When you said that you have:

ok actually i have 2 of everything one has the prefix one doesn't ....

Do you mean you have a set of Tables with zen_ and a set without in your database?

Make sure both files are referencing the same database table ...

Look in phpMyAdmin at your database referenced in these files at the table for:
zen_products_options_values

and if you could browse it and do a screen shot it might help ...

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!

18 Oct 2012, 4:41 PM
#83
dashizna avatar

dashizna

Zen Follower

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

Re: i have tons of debug logs

Ajeh:

While this may be due to your editing, make sure there are no lines with double // in the defines ...

You are using the tables with the prefix zen_ on them ...

When you said that you have:

Do you mean you have a set of Tables with zen_ and a set without in your database?

Make sure both files are referencing the same database table ...
Look in phpMyAdmin at your database referenced in these files at the table for:
zen_products_options_values

and if you could browse it and do a screen shot it might help ...

yes i have a set of tables with zen_ and then a set of tables without it. i did delete the ones that were causing errors and some of the ones with 0 rows without the zen_
but i still get the http 500 error and that debug log

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

18 Oct 2012, 4:49 PM
#84
dashizna avatar

dashizna

Zen Follower

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

Re: i have tons of debug logs

does it matter i am using 1.3.8 config files?

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

18 Oct 2012, 5:04 PM
#85
drbyte avatar

drbyte

Sensei

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

Re: i have tons of debug logs

What are the records currently inside your zen_products_options_values table?

.
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.

18 Oct 2012, 5:11 PM
#86
dashizna avatar

dashizna

Zen Follower

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

Re: i have tons of debug logs

DrByte:

What are the records currently inside your zen_products_options_values table?

it looks like all the values of our attributes

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

18 Oct 2012, 5:20 PM
#87
drbyte avatar

drbyte

Sensei

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

Re: i have tons of debug logs

And is there a record in there of id=0, language=1, value = TEXT ??

.
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.

18 Oct 2012, 6:06 PM
#88
dashizna avatar

dashizna

Zen Follower

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

Re: i have tons of debug logs

DrByte:

And is there a record in there of id=0, language=1, value = TEXT ??

do you mean like this

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

18 Oct 2012, 6:22 PM
#89
ajeh avatar

ajeh

Oba-san

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

Re: i have tons of debug logs

NOTE: you should edit that record for the 0,1 that has blank name and enter:
TEXT

so if you use it later, you can see a name there ...

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!

18 Oct 2012, 7:53 PM
#90
drbyte avatar

drbyte

Sensei

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

Re: i have tons of debug logs

Yup, that would be the required fix.

What's far more interesting is WHY your database is damaged in such a way that the value is blank? That should never happen, unless someone has been deleting data or some sort of import tool is updating records incorrectly.
Maybe one of the many easypopulate versions?

.
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.

19 Oct 2012, 3:17 AM
#91
dashizna avatar

dashizna

Zen Follower

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

Re: i have tons of debug logs

Well i put that TEXT into the blank error and that did it now its working. what a mess over a 4 letter work amazing. and i bet it was one of the easy populate versions we have had many of them

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

19 Oct 2012, 3:21 AM
#92
drbyte avatar

drbyte

Sensei

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

Re: i have tons of debug logs

Glad you got it sorted out!

.
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.

19 Oct 2012, 3:24 AM
#93
dashizna avatar

dashizna

Zen Follower

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

Re: i have tons of debug logs

DrByte:

Glad you got it sorted out!

ME.... Without you guys i would be lost i only got it figured out because of you guys thanks a ton.

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

23 Oct 2012, 5:29 AM
#94
dashizna avatar

dashizna

Zen Follower

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

Re: i have tons of debug logs

well still got some of these things haunting me

heres the newest

[22-Oct-2012 21:58:53] PHP Fatal error: 1062:Duplicate entry 'zc_7eb4ed1f36d90140477d9474b61e0e26' for key 'PRIMARY' :: insert into zen_db_cache set cache_entry_name = 'zc_7eb4ed1f36d90140477d9474b61e0e26',
cache_data =

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

23 Oct 2012, 7:49 AM
#95
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: i have tons of debug logs

Dashizna:

[22-Oct-2012 21:58:53] PHP Fatal error: 1062:Duplicate entry 'zc_7eb4ed1f36d90140477d9474b61e0e26' for key 'PRIMARY' :: insert into zen_db_cache set cache_entry_name = 'zc_7eb4ed1f36d90140477d9474b61e0e26',
cache_data =

What do have set in your config files (both of them) for 'SQL_CACHE_METHOD' ?

Try setting it to:
define('SQL_CACHE_METHOD', 'none');

Cheers
Rod

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

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

23 Oct 2012, 2:38 PM
#96
dashizna avatar

dashizna

Zen Follower

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

Re: i have tons of debug logs

RodG:

What do have set in your config files (both of them) for 'SQL_CACHE_METHOD' ?

Try setting it to:
define('SQL_CACHE_METHOD', 'none');

Cheers
Rod

the one was set to none and the other was set to database so i changed them both to none

but now heres a new one

[23-Oct-2012 08:31:24] PHP Warning: fread() [<a href='function.fread'>function.fread</a>]: Length parameter must be greater than 0 in /home2/pwcforum/public_html/includes/classes/google_base.php on line 74

i get this when i try to make a google merchant file.

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

23 Oct 2012, 4:35 PM
#97
drbyte avatar

drbyte

Sensei

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

Re: i have tons of debug logs

Dashizna:

[23-Oct-2012 08:31:24] PHP Warning: fread() [function.fread]: Length parameter must be greater than 0 in /home2/pwcforum/public_html/includes/classes/google_base.php on line 74

i get this when i try to make a google merchant file.

That's a problem with your Google Base addon and/or its settings.

.
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.

23 Oct 2012, 5:38 PM
#98
dashizna avatar

dashizna

Zen Follower

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

Re: i have tons of debug logs

DrByte:

That's a problem with your Google Base addon and/or its settings.

well what is weird is this was working and now it wont make a file anymore.

Google Merchant Center Feeder Configuration
that is the version i am using. Is there a better one that i should be using??

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