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

i have tons of debug logs

Views: 8,808

Results 21 to 40 of 98
14 Oct 2012, 10:31 PM
#21
dashizna avatar

dashizna

Zen Follower

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

i have tons of debug logs

lat9:

If you are going to keep your database as a latin1 collation, you'll need to change your /includes/configure.php and /YOUR_ADMIN/includes/configure.php files'

define('DB_CHARSET', 'latin1');

> and your /includes/languages/YOUR_TEMPLATE/english.php and /YOUR_ADMIN/includes/languages/english.php files'
> ```
// charset for web pages and emails
  define('CHARSET', 'iso-8859-1');

The first two of your "new" errors imply that you've somehow removed the file /includes/languages/english.php (the default english-language phrase file).

ok so do i need to add that line to the config files becuase that is nowhere in those files?? also should i change it over or leave it latin1 it doesn't matter to me i just want to be free of all these errors

Thanks

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

14 Oct 2012, 10:49 PM
#22
dashizna avatar

dashizna

Zen Follower

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

Re: i have tons of debug logs

i added that line to both config files and now im getting this

[14-Oct-2012 16:44:59] PHP Warning: htmlspecialchars() [<a href='function.htmlspecialchars'>function.htmlspecialchars</a>]: charset latin1' not supported, assuming iso-8859-1 in /home2/pwcforum/public_html/AandD-6955778-309/includes/functions/general.php on line 39 [14-Oct-2012 16:44:59] PHP Warning: htmlspecialchars() [<a href='function.htmlspecialchars'>function.htmlspecialchars</a>]: charset latin1' not supported, assuming iso-8859-1 in /home2/pwcforum/public_html/AandD-6955778-309/includes/functions/general.php on line 39
[14-Oct-2012 16:44:59] PHP Warning: htmlspecialchars() [<a href='function.htmlspecialchars'>function.htmlspecialchars</a>]: charset latin1' not supported, assuming iso-8859-1 in /home2/pwcforum/public_html/AandD-6955778-309/includes/functions/general.php on line 39 [14-Oct-2012 16:44:59] PHP Warning: htmlspecialchars() [<a href='function.htmlspecialchars'>function.htmlspecialchars</a>]: charset latin1' not supported, assuming iso-8859-1 in /home2/pwcforum/public_html/AandD-6955778-309/includes/functions/general.php on line 39
[14-Oct-2012 16:44:59] PHP Warning: htmlspecialchars() [<a href='function.htmlspecialchars'>function.htmlspecialchars</a>]: charset `latin1' not supported, assuming iso-8859-1 in /home2/pwcforum/public_html/AandD-6955778-309/includes/functions/general.php on line 39

[14-Oct-2012 16:44:53] PHP Warning: htmlspecialchars() [<a href='function.htmlspecialchars'>function.htmlspecialchars</a>]: charset latin1' not supported, assuming iso-8859-1 in /home2/pwcforum/public_html/AandD-6955778-309/includes/functions/general.php on line 39 [14-Oct-2012 16:44:53] PHP Warning: htmlspecialchars() [<a href='function.htmlspecialchars'>function.htmlspecialchars</a>]: charset latin1' not supported, assuming iso-8859-1 in /home2/pwcforum/public_html/AandD-6955778-309/includes/functions/general.php on line 39
[14-Oct-2012 16:44:53] PHP Warning: htmlspecialchars() [<a href='function.htmlspecialchars'>function.htmlspecialchars</a>]: charset latin1' not supported, assuming iso-8859-1 in /home2/pwcforum/public_html/AandD-6955778-309/includes/functions/general.php on line 39 [14-Oct-2012 16:44:53] PHP Warning: htmlspecialchars() [<a href='function.htmlspecialchars'>function.htmlspecialchars</a>]: charset latin1' not supported, assuming iso-8859-1 in /home2/pwcforum/public_html/AandD-6955778-309/includes/functions/general.php on line 39
[14-Oct-2012 16:44:53] PHP Warning: htmlspecialchars() [<a href='function.htmlspecialchars'>function.htmlspecialchars</a>]: charset latin1' not supported, assuming iso-8859-1 in /home2/pwcforum/public_html/AandD-6955778-309/includes/functions/general.php on line 39 [14-Oct-2012 16:44:53] PHP Warning: htmlspecialchars() [<a href='function.htmlspecialchars'>function.htmlspecialchars</a>]: charset latin1' not supported, assuming iso-8859-1 in /home2/pwcforum/public_html/AandD-6955778-309/includes/functions/general.php on line 39
[14-Oct-2012 16:44:53] PHP Warning: htmlspecialchars() [<a href='function.htmlspecialchars'>function.htmlspecialchars</a>]: charset latin1' not supported, assuming iso-8859-1 in /home2/pwcforum/public_html/AandD-6955778-309/includes/functions/general.php on line 39 [14-Oct-2012 16:44:55] PHP Warning: htmlspecialchars() [<a href='function.htmlspecialchars'>function.htmlspecialchars</a>]: charset latin1' not supported, assuming iso-8859-1 in /home2/pwcforum/public_html/AandD-6955778-309/includes/functions/general.php on line 39

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

14 Oct 2012, 10:59 PM
#23
dashizna avatar

dashizna

Zen Follower

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

Re: i have tons of debug logs

Maybe those 2 codes are old im not sure im going to keep checking to see if anymore come ill keep you updated

Thanks

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

14 Oct 2012, 11:04 PM
#24
dashizna avatar

dashizna

Zen Follower

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

Re: i have tons of debug logs

Nope there new and its flooding the server now

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

14 Oct 2012, 11:42 PM
#25
dashizna avatar

dashizna

Zen Follower

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

Re: i have tons of debug logs

i think i might have found the one problem the includes english file did have the latin1 instead of the 'iso-8859-1' so i changed it now ill see how that works out.

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

14 Oct 2012, 11:50 PM
#26
dashizna avatar

dashizna

Zen Follower

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

Re: i have tons of debug logs

i did the restore on the database and everything is now back. But when i click attributes controller it goes to a http 500 error ???

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

14 Oct 2012, 11:51 PM
#27
dashizna avatar

dashizna

Zen Follower

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

Re: i have tons of debug logs

debug log has

[14-Oct-2012 17:49:03] PHP Fatal error: 1064:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int)PRODUCTS_OPTIONS_VALUES_TEXT_ID, 1, 'TEXT')' at line 1 :: INSERT INTO products_options_values (products_options_values_id, language_id, products_options_values_name) VALUES ((int)PRODUCTS_OPTIONS_VALUES_TEXT_ID, 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

15 Oct 2012, 12:12 AM
#28
dashizna avatar

dashizna

Zen Follower

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

Re: i have tons of debug logs

now i got a new one

[14-Oct-2012 17:49:03] PHP Fatal error: 1064:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int)PRODUCTS_OPTIONS_VALUES_TEXT_ID, 1, 'TEXT')' at line 1 :: INSERT INTO products_options_values (products_options_values_id, language_id, products_options_values_name) VALUES ((int)PRODUCTS_OPTIONS_VALUES_TEXT_ID, 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

15 Oct 2012, 12:17 AM
#29
drbyte avatar

drbyte

Sensei

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

Re: i have tons of debug logs

.
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, 12:30 AM
#30
dashizna avatar

dashizna

Zen Follower

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

Re: i have tons of debug logs

Thanks i just did it but i still get a Http 500 error when i click on atributes controller in the admin

and now i got this error

[14-Oct-2012 18:23:34] 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

15 Oct 2012, 1:43 AM
#31
dashizna avatar

dashizna

Zen Follower

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

Re: i have tons of debug logs

well now google is gone. and i get this error now

[14-Oct-2012 19:35:42] PHP Warning: opendir(/home2/pwcforum/public_html/GOOGLE_PRODUCTS_DIRECTORY) [<a href='function.opendir'>function.opendir</a>]: failed to open dir: No such file or directory in /home2/pwcforum/public_html/myadmin/googlefroogle.php on line 185

i just reinstalled all the files and ran the Sql file still nothing. it was working just fine before i did the database restore to fix the attributes

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

15 Oct 2012, 1:47 AM
#32
dashizna avatar

dashizna

Zen Follower

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

Re: i have tons of debug logs

ok i think i got this one done. man i just can't get a break.

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

15 Oct 2012, 1:47 AM
#33
drbyte avatar

drbyte

Sensei

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

Re: i have tons of debug logs

Dashizna:

[14-Oct-2012 19:35:42] PHP Warning: opendir(/home2/pwcforum/public_html**/GOOGLE_PRODUCTS_DIRECTORY**) [<a href='function.opendir'>function.opendir</a>]: failed to open dir: No such file or directory in /home2/pwcforum/public_html/myadmin/googlefroogle.php on line 185
Apparently your googlefroogle script is expecting that you've got a defined value for GOOGLE_PRODUCTS_DIRECTORY.

As with any plugin, that's usually in a define() statement, contained in one of the plugin's files, or in the database as a result of following the plugin's installation procedure.

.
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, 1:57 AM
#35
dashizna avatar

dashizna

Zen Follower

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

Re: i have tons of debug logs

how do you uninstall and reinstall easy populate cause the screen is just blank and i have done everything a few times but when you click the easy populate in configuration in the admin it is just blank

Thanks

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

15 Oct 2012, 3:02 AM
#36
drbyte avatar

drbyte

Sensei

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

Re: i have tons of debug logs

.
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, 4:17 PM
#37
dashizna avatar

dashizna

Zen Follower

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

Re: i have tons of debug logs

RodG:

Dashizna,

"[12-Oct-2012 21:36:13] PHP Fatal error: 1062:Duplicate entry 'zc_01816214277b5bb819a08194522eb8b9' for key 'PRIMARY' :: insert into zen_db_cache set cache_entry_name = 'zc_01816214277b5bb819a08194522eb8b9',"

An easy one to fix. Using phpmyadmin (or similar tool) drop all the entries zen_db_cache table... it appears you may have a corrupt table.

I did this and even deleted the one that is causing the problem manually and it is just recreating this issue.

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

15 Oct 2012, 4:28 PM
#38
dashizna avatar

dashizna

Zen Follower

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

Re: i have tons of debug logs

Ok here is this attrbutes one still haunting me

[15-Oct-2012 09:56:19] 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/********/public_html/includes/classes/db/mysql/query_factory.php on line 120

so right now it looks like i got all of them but these last 2 taken care of so far....

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

15 Oct 2012, 4:34 PM
#39
drbyte avatar

drbyte

Sensei

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

Re: i have tons of debug logs

Do both of your configure.php files have the same DB_XXXXXXX settings? (other parts of the file may differ, but the DB_XXXXXX settings must always be the same in both files)

.
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, 4:45 PM
#40
dashizna avatar

dashizna

Zen Follower

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

Re: i have tons of debug logs

yes they are both the same

also i just tried to redo easy populate with all the files and everything when i try to run both SQL files i get a Failed on ._install_sql and a http 500 error on install_sql

im not sure if its cause i did have older versions of easy populate in the 1.3.8a

this is the version of easy populate im trying to use. http://www.zen-cart.com/downloads.php?do=file&id=868

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