View Issue Details

IDProjectCategoryView StatusLast Update
1820ComposrGeneral / Uncategorisedpublic2015-03-08 12:35
ReporterLhasadreams Assigned ToChris Graham  
PrioritynormalSeverityfeature 
Status resolvedResolutionfixed 
Summary1820: Trying to add a picture to Product Entry, causes a stack trace
DescriptionHi,

On vwgolfmk1.org.uk

I have an existing "Products" Catalogue with a category of "Annual Gathering Weekend Tickets".
I am trying to alter the product image to reflect the ticket for this year.
However when I try and add the new image to the "Weekend Pass" product I get the following stack trace:

I managed to remove the old image, but cannot add a new one.

PHP WARNING [2] rawurldecode() expects parameter 1 to be string, array given in sources/hooks/systems/fields/picture.php on line 160 (version: 9.0.5, PHP version: 5.5.16, URL: /cms/index.php?page=cms_catalogues&type=__ed&id=47&catalogue_name=products&redirect=http%3A%2F%2Fvwgolfmk1.org.uk%2Findex.php%3Fpage%3Dcatalogues%26type%3Dentry%26id%3Dproducts-home%252Fannual-gathering-2015%252Fweekend-pass%26redirected%3D1&uploading=1)

Cheers
Ade
Additional InformationHere is the stack trace:

Below is a stack trace revealing the state the software was in when the error occurred. If this represents a bug in the unmodified software, you may want to check Composr website for a fix, and if there isn't one, report this as a bug. Please note that merely posting a stack trace is not sufficient for us to solve your problem; the stack trace is just an aid that presents us with additional information. We still need to know the error message, what you tried to do, how you tried to do it, version numbers, and any other appropriate information.
We apologise for this problem and if it's a bug we hope you will work with us so that we can fix it for you promptly.

File '/home/vwgolfm/public_html/sources/failure.php'
Line '819'
Function 'get_html_trace'
Args
File '/home/vwgolfm/public_html/sources/global2.php'
Line '1,016'
Function '_fatal_exit'
Args
'PHP WARNING [2] rawurldecode() expects parameter 1 to be string, array given in sources/hooks/systems/fields/picture.php on line 160'
File '/home/vwgolfm/public_html/sources/failure.php'
Line '231'
Function 'fatal_exit'
Args
'PHP WARNING [2] rawurldecode() expects parameter 1 to be string, array given in sources/hooks/systems/fields/picture.php on line 160'
File '/home/vwgolfm/public_html/sources/global2.php'
Line '876'
Function '_Composr_error_handler'
Args
'warning'

2

'rawurldecode() expects parameter 1 to be string, array given'

'sources/hooks/systems/fields/picture.php'

160
Function 'Composr_error_handler'
Args ...
File '/home/vwgolfm/public_html/sources/hooks/systems/fields/picture.php'
Line '160'
Function 'rawurldecode'
Args
array ( 'f_id' => 40, 'cv_value' => '', 'cv_value__text_parsed' => NULL, 'cv_value__source_user' => NULL, )
File '/home/vwgolfm/public_html/cms/pages/modules_custom/cms_catalogues.php'
Line '572'
Function 'inputted_to_field_value'
Class 'Hook_fields_picture'
Object
Type '->'
Args ...
'uploads/catalogues'

array ( 'f_id' => 40, 'cv_value' => '', 'cv_value__text_parsed' => NULL, 'cv_value__source_user' => NULL, )
File '/home/vwgolfm/public_html/cms/pages/modules_custom/cms_catalogues.php'
Line '647'
Function 'get_set_field_map'
Class 'Module_cms_catalogues'
Object
Type '->'
Args
'products'

47
File '/home/vwgolfm/public_html/sources/aed_module.php'
Line '1,254'
Function 'edit_actualisation'
Class 'Module_cms_catalogues'
Object
Type '->'
Args
'47'
File '/home/vwgolfm/public_html/sources/aed_module.php'
Line '212'
Function '__ed'
Class 'standard_aed_module'
Object
Type '->'
Args
File '/home/vwgolfm/public_html/sources/zones.php'
Line '425'
Function 'run'
Class 'standard_aed_module'
Object
Type '->'
Args
File '/home/vwgolfm/public_html/sources/site.php'
Line '868'
Function 'load_module_page'
Args
'cms/pages/modules_custom/cms_catalogues.php'

'cms_catalogues'
File '/home/vwgolfm/public_html/sources/site.php'
Line '657'
Function 'request_page'
Args
'cms_catalogues'

true
File '/home/vwgolfm/public_html/cms/index.php'
Line '38'
Function 'do_site'
Args
Parameters

catalogue_name
products
MAX_FILE_SIZE
134217728
label_for__category_id
Category
category_id
17
require__category_id
1
label_for__field_33
Product title
comcode__field_33
1
field_33
Weekend Pass
require__field_33
1
label_for__field_34
Product code
field_34
WeekendPass
require__field_34
1
label_for__field_35
Net price
field_35
35
require__field_35
1
label_for__field_36
Stock level
field_36
9905
require__field_36
0
label_for__field_37
Stock level warn-threshold
field_37
0
require__field_37
0
label_for__field_38
Stock maintained
field_38
Yes
require__field_38
1
label_for__field_39
Product tax rate
field_39
0%
require__field_39
1
label_for__field_40
Product image
require__field_40
0
hidFileID_field_40
5790
label_for__field_41
Product weight
field_41
1
require__field_41
1
comcode__field_42
1
label_for__field_42
Product description
field_42
The best ticket to have !!!
Includes:
      Friday Night Camping - Gates Open From 2pm,
      Saturday Show Entry and Saturday Night Camping,
      Sunday Show Entry.
Price Per Car (Maximum 5 Occupants).
field_42_parsed
The best ticket to have !!!
Includes:
      Friday Night Camping - Gates Open From 2pm,
      Saturday Show Entry and Saturday Night Camping,
      Sunday Show Entry.
Price Per Car (Maximum 5 Occupants).
label_for__field_85
Discounted net price
field_85
30
require__field_85
1
label_for__edit_owner_name
Entry owner
edit_owner_name
lhasadreams
require__edit_owner_name
0
label_for__validated
Validated
validated
1
tick_on_form__validated
0
require__validated
0
label_for__allow_rating
Allow rating
tick_on_form__allow_rating
0
require__allow_rating
0
label_for__allow_comments
Allow comments
allow_comments
0
require__allow_comments
0
label_for__notes
Notes
notes
pre_f_notes
1
require__notes
0
label_for__force_delete
tick_on_form__force_delete
0
require__force_delete
0
meta_keywords
(array)
label_for__meta_keywords
(array)
require__meta_keywords
0
label_for__meta_description
Concise description
meta_description
Mk1 Golf Owners Club Annual Gathering Full Weekend Ticket
require__meta_description
0
http_referer
http://vwgolfmk1.org.uk/cms/index.php?page=cms_catalogues&type=_edit_entry&id=47&catalogue_name=products&redirect=http%3A%2F%2Fvwgolfmk1.org.uk%2Findex.php%3Fpage%3Dcatalogues%26type%3Dentry%26id%3Dproducts-home%252Fannual-gathering-2015%252Fweekend-pass%26redirected%3D1
TagsNo tags attached.
Attach Tags
Time estimation (hours)
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

Chris Graham

2015-03-08 12:35

administrator   ~2608

Fixed. Sorry for bug, affected the changes on your site specifically.

Issue History

Date Modified Username Field Change
2023-02-26 18:29 Chris Graham Category General => General / Uncategorised