- Posts: 139
- Thank you received: 1
Can't change default image in system configuration
12 years 11 months ago #129287
by abasel
Can't change default image in system configuration was created by abasel
Whenever I try and change the default image, I get the following when I save
"Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."
-- url of the page with the problem -- : mywebsite.com/mypage
-- HikaShop version -- : 2.2.2
-- Joomla version -- : 3.1
-- PHP version -- : 5.3.26
-- Browser(s) name and version -- : Chrome (Latest)
"Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."
-- url of the page with the problem -- : mywebsite.com/mypage
-- HikaShop version -- : 2.2.2
-- Joomla version -- : 3.1
-- PHP version -- : 5.3.26
-- Browser(s) name and version -- : Chrome (Latest)
Please Log in or Create an account to join the conversation.
12 years 11 months ago #129294
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Can't change default image in system configuration
Hi,
The HikaShop configuration form contains a lot of fields (a lot of data).
When you want to include a file in the form submission, some server have limitation/restriction and they does not like receiving so much data.
When you upload a file, the form is not submitted in the same format than without a file, it consumes more data.
It is planned to separate the upload part form the configuration (like I did for HikaMarket) but for the moment, you will have to upload the file manually and change the value in the database (or find a server without this limitation/restriction).
Regards,
The HikaShop configuration form contains a lot of fields (a lot of data).
When you want to include a file in the form submission, some server have limitation/restriction and they does not like receiving so much data.
When you upload a file, the form is not submitted in the same format than without a file, it consumes more data.
It is planned to separate the upload part form the configuration (like I did for HikaMarket) but for the moment, you will have to upload the file manually and change the value in the database (or find a server without this limitation/restriction).
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
12 years 11 months ago #129298
by abasel
Replied by abasel on topic Can't change default image in system configuration
I found the entry in _hikashop_config and changed the value for default_image from barcode.png to cyber.jpg but now no image apears in the settings page
Please Log in or Create an account to join the conversation.
12 years 11 months ago #129405
by Xavier
Replied by Xavier on topic Can't change default image in system configuration
Hi,
Have you uploaded this file in the folder "media/com_hikashop/images" ?
Have you uploaded this file in the folder "media/com_hikashop/images" ?
Please Log in or Create an account to join the conversation.
12 years 11 months ago #129418
by abasel
Replied by abasel on topic Can't change default image in system configuration
Hi, Yes I did... very strange.... last thing I could do is just what permissions it was loaded up with... didn't thin of that. Will try later.
Please Log in or Create an account to join the conversation.
12 years 11 months ago #129470
by Xavier
Replied by Xavier on topic Can't change default image in system configuration
Hi,
Yes, the permissions is a good thing to check.
Can you give us a screenshot of your entry in the database, of the file in the folder (with the path indicated) and the permissions of that file ?
Yes, the permissions is a good thing to check.
Can you give us a screenshot of your entry in the database, of the file in the folder (with the path indicated) and the permissions of that file ?
Please Log in or Create an account to join the conversation.
12 years 11 months ago #129646
by nicolas
Replied by nicolas on topic Can't change default image in system configuration
Please note that if the image is named something else than bardcode.png it needs to be uploaded in the media/com_hikashop/upload folder as the media/com_hikashop/images folder is wiped out during each install/update of HikaShop by joomla.
Please Log in or Create an account to join the conversation.
12 years 11 months ago #129655
by abasel
Replied by abasel on topic Can't change default image in system configuration
Ok and which field in the database do I change to indicate the path to uploads?
Please Log in or Create an account to join the conversation.
12 years 11 months ago #129667
by nicolas
Replied by nicolas on topic Can't change default image in system configuration
It's the entry with the namekey "uploadfolder". By default it's set to media/com_hikashop/upload
The following user(s) said Thank You: abasel
Please Log in or Create an account to join the conversation.
12 years 11 months ago #129799
by abasel
Thanks.. all works now
Replied by abasel on topic Can't change default image in system configuration
Please Log in or Create an account to join the conversation.
Time to create page: 0.327 seconds