Forums / Addon Admin Tools / Product Extra Fields for text, pdfs and flash

Product Extra Fields for text, pdfs and flash

Views: 74,657

Results 301 to 320 of 381
27 Jul 2015, 4:02 AM
#301
parafanaylya avatar

parafanaylya

Totally Zenned

Join Date:
Jul 2005
Location:
Hoedspruit
Posts:
470
Plugin Contributions:
1

Product Extra Fields for text, pdfs and flash

Parafanaylya:

Where might I find the debug-log files?

I found this in my CPanel: ( I substituted user and template names)

[Sun Jul 26 23:03:41.045466 2015] [access_compat:error] [pid 453343] [client 66.249.64.38:35723] AH01797: client denied by server configuration: /home/my_username/public_html/includes/templates/old_template_name

What is interesting is that I haven't used my old_template_name since upgrading to 1.5.4

27 Jul 2015, 2:52 PM
#302
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: Product Extra Fields for text, pdfs and flash

Actually, I never do what you did - renaming and uploading. I always take the contents and upload them in the correct place. But I don't see how could have gone wrong doing that either.

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo

27 Jul 2015, 3:01 PM
#303
parafanaylya avatar

parafanaylya

Totally Zenned

Join Date:
Jul 2005
Location:
Hoedspruit
Posts:
470
Plugin Contributions:
1

Re: Product Extra Fields for text, pdfs and flash

delia:

Actually, I never do what you did - renaming and uploading. I always take the contents and upload them in the correct place. But I don't see how could have gone wrong doing that either.

Hi

I have changed the local directory name back to admin. I'll download a home directory backup.

Then rename only the template directory as per read.txt , and upload in batches to their relevant locations. Where the server file is older than your files, I'll overwrite.

Will let you know asap.

28 Jul 2015, 3:31 AM
#304
parafanaylya avatar

parafanaylya

Totally Zenned

Join Date:
Jul 2005
Location:
Hoedspruit
Posts:
470
Plugin Contributions:
1

Re: Product Extra Fields for text, pdfs and flash

WARNING: An Error occurred, please refresh the page and try again.

This is what has happened to my admin page again with a manual install of all files

28 Jul 2015, 4:34 AM
#305
parafanaylya avatar

parafanaylya

Totally Zenned

Join Date:
Jul 2005
Location:
Hoedspruit
Posts:
470
Plugin Contributions:
1

Re: Product Extra Fields for text, pdfs and flash

Busy uploading a home directory backup. At the pathetic local ISP speeds, it may take 2-3 days. We are meant to have a 20mbps line, which is the best affordable line in my neighbourhood of Johannesburg. (Pop 6-8 million, with isolated areas offering fibre to fewer than 50 000)

28 Jul 2015, 10:55 AM
#306
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: Product Extra Fields for text, pdfs and flash

Did you run the sql?

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo

28 Jul 2015, 11:38 AM
#308
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: Product Extra Fields for text, pdfs and flash

I don't know what you are doing wrong but this shouldn't be an issue if in fact you are matching zen cart versions.

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo

28 Jul 2015, 11:48 AM
#309
lat9 avatar

lat9

Administrator

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

Re: Product Extra Fields for text, pdfs and flash

Parafanaylya:

This is what has happened to my admin page again with a manual install of all files
When you receive the "Warning: An error occurred", there's a debug log with details that identify the symptom (and possibly the source) of the error. Check your /logs folder for Zen Cart v1.5.1 or later; /cache folder for earlier versions.

28 Jul 2015, 12:15 PM
#311
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: Product Extra Fields for text, pdfs and flash

Yes, that is correct. Have you checked the logs folder for the error logs.

Thanks lat9 for that helpful bit of advice!

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo

28 Jul 2015, 1:37 PM
#312
parafanaylya avatar

parafanaylya

Totally Zenned

Join Date:
Jul 2005
Location:
Hoedspruit
Posts:
470
Plugin Contributions:
1

Re: Product Extra Fields for text, pdfs and flash

delia:

Yes, that is correct. Have you checked the logs folder for the error logs.

Thanks lat9 for that helpful bit of advice!

There are 2 log folders that I know of - both in CPanel

*/public.html/logs *which has a lot of stuff that seems unrelated to admin, and:

[Tue Jul 28 08:12:48.127231 2015] [access_compat:error] [pid 857032] [client 66.102.6.226:62151] AH01797: client denied by server configuration: /home/my_user_name/public_html/includes/templates/old_template_name, referer: http://joburgonline.com/
[Tue Jul 28 08:12:48.125849 2015] [access_compat:error] [pid 857921] [client 66.102.6.230:53004] AH01797: client denied by server configuration: /home/my_user_name/public_html/includes/templates/old_template_name, referer: http://joburgonline.com/
[Tue Jul 28 08:12:48.125680 2015] [access_compat:error] [pid 858320] [client 66.102.6.230:41939] AH01797: client denied by server configuration: /home/my_user_name/public_html/includes/templates/old_template_name, referer: http://joburgonline.com/
[Tue Jul 28 08:12:48.125682 2015] [access_compat:error] [pid 855490] [client 66.102.6.226:46355] AH01797: client denied by server configuration: /home/my_user_name/public_html/includes/templates/old_template_name, referer: http://joburgonline.com/
[Tue Jul 28 08:12:48.125609 2015] [access_compat:error] [pid 857036] [client 66.102.6.226:62958] AH01797: client denied by server configuration: /home/my_user_name/public_html/includes/templates/old_template_name, referer: http://joburgonline.com/
[Tue Jul 28 08:12:48.125609 2015] [access_compat:error] [pid 854743] [client 66.102.6.226:38886] AH01797: client denied by server configuration: /home/my_user_name/public_html/includes/templates/old_template_name, referer: http://joburgonline.com/
[Tue Jul 28 08:12:48.125595 2015] [access_compat:error] [pid 858188] [client 66.102.6.226:55230] AH01797: client denied by server configuration: /home/my_user_name/public_html/includes/templates/old_template_name, referer: http://joburgonline.com/
[Tue Jul 28 08:12:48.122814 2015] [access_compat:error] [pid 855431] [client 66.102.6.230:59157] AH01797: client denied by server configuration: /home/my_user_name/public_html/includes/templates/old_template_name, referer: http://joburgonline.com/

28 Jul 2015, 2:17 PM
#313
lat9 avatar

lat9

Administrator

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

Re: Product Extra Fields for text, pdfs and flash

Check also for myDEBUG*.log files, present in your store's /logs directory.

28 Jul 2015, 2:39 PM
#314
parafanaylya avatar

parafanaylya

Totally Zenned

Join Date:
Jul 2005
Location:
Hoedspruit
Posts:
470
Plugin Contributions:
1

Re: Product Extra Fields for text, pdfs and flash

lat9:

Check also for myDEBUG*.log files, present in your store's /logs directory.

Where might I find those logs. I don't have access to admin.

28 Jul 2015, 2:46 PM
#315
lat9 avatar

lat9

Administrator

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

Re: Product Extra Fields for text, pdfs and flash

Use your cPanel's "File Explorer" or FTP. You'll see the /logs folder as a first-level sub-folder, at the same level as your /includes folder.

28 Jul 2015, 3:03 PM
#316
parafanaylya avatar

parafanaylya

Totally Zenned

Join Date:
Jul 2005
Location:
Hoedspruit
Posts:
470
Plugin Contributions:
1

Re: Product Extra Fields for text, pdfs and flash

lat9:

Use your cPanel's "File Explorer" or FTP. You'll see the /logs folder as a first-level sub-folder, at the same level as your /includes folder.

I have them - anything in particular. The newest is dated 05/10/15

29 Jul 2015, 6:46 AM
#318
parafanaylya avatar

parafanaylya

Totally Zenned

Join Date:
Jul 2005
Location:
Hoedspruit
Posts:
470
Plugin Contributions:
1

Re: Product Extra Fields for text, pdfs and flash

Please confirm code I need to remove to restore my admin:

from admin/includes/modules/copy_to_confirm.php

///new fields- code taken from the music type fields and applied with new fields here - adp /03/03/2010
 $product_extra = $db->Execute("select extra_field, text_1, text_2, text_3, text_4, file_1, file_2, file_3, file_4, file_1_title, file_2_title, file_3_title, file_4_title, video, video_title, height, width from " . TABLE_PRODUCT_EXTRA_FIELDS . " where products_id = '" . (int)$products_id . "'");

            $db->Execute("insert into " . TABLE_PRODUCT_EXTRA_FIELDS . "
                          (products_id, extra_field, text_1, text_2, text_3, text_4, file_1, file_2, file_3, file_4, file_1_title, file_2_title, file_3_title, file_4_title, video, video_title, height, width)
                          values (
                         '" . (int)$dup_products_id . "',
                         '" . zen_db_input($product_extra->fields['extra_field']) . "',
						 '" . zen_db_input($product_extra->fields['text_1']) . "',
						 '" . zen_db_input($product_extra->fields['text_2']) . "',
						 '" . zen_db_input($product_extra->fields['text_3']) . "',
						 '" . zen_db_input($product_extra->fields['text_4']) . "',
                         '" . zen_db_input($product_extra->fields['file_1']) . "',
						 '" . zen_db_input($product_extra->fields['file_2']) . "',
						 '" . zen_db_input($product_extra->fields['file_3']) . "',
						 '" . zen_db_input($product_extra->fields['file_4']) . "',
						 '" . zen_db_input($product_extra->fields['file_1_title']) . "',
						 '" . zen_db_input($product_extra->fields['file_2_title']) . "',
						 '" . zen_db_input($product_extra->fields['file_3_title']) . "', 
						 '" . zen_db_input($product_extra->fields['file_4_title']) . "',
						 '" . zen_db_input($product_extra->fields['video']) . "',
                         '" . zen_db_input($product_extra->fields['video_title']) . "',
						 '" . zen_db_input($product_extra->fields['height']) . "',
						 '" . zen_db_input($product_extra->fields['width']) . "')");

          

// eo: zen_copy_extra_fields
29 Jul 2015, 8:11 AM
#320
parafanaylya avatar

parafanaylya

Totally Zenned

Join Date:
Jul 2005
Location:
Hoedspruit
Posts:
470
Plugin Contributions:
1

Re: Product Extra Fields for text, pdfs and flash

From admin/includes/modules/delete_product_confirm.php

 > //delia - product extra fields mod
  $db->Execute("delete from " . TABLE_PRODUCT_EXTRA_FIELDS . "
                where products_id = '" . (int)$product_id . "'");
                //