Page 1 of 2
Photo problem of the store phoca cart 4 RC
Posted: 10 Mar 2022, 11:25
by nscom
Hello everyone,
I installed phoca cart 4 RC on joomla 4 and when I want to integrate the photo of the store, it displays an internal server error.
Do you have an idea how to correct this problem ?
Re: Photo problem of the store phoca cart 4 RC
Posted: 10 Mar 2022, 13:45
by Benno
Hi,
I want to integrate the photo of the store
Where you want to integrate the photo of the store? Here:
backend --> Components --> Phoca Cart --> Control Panel --> Options --> Store --> Store Logo ?
Kind regards,
Benno
Re: Photo problem of the store phoca cart 4 RC
Posted: 10 Mar 2022, 13:50
by nscom
thanks Beno, I found where to put the picture but it gives me a message "Internal server error" do you have any idea of the problem?
Re: Photo problem of the store phoca cart 4 RC
Posted: 10 Mar 2022, 14:20
by Benno
Hi,
to recreate this, I need to know where you want to insert the image. In which parameter of the Phoca Cart options, in which tab.
Also it would be important to know which file type you want to insert. (png, jpg, svg)?
How big is the image (px height, px width)?
Physical size (MB)?
Which PHP version do you run?
Regarding 'internal server error' = error 500
https://www.phoca.cz/documents/16-jooml ... rs-on-site
Kind regards,
Benno
Re: Photo problem of the store phoca cart 4 RC
Posted: 10 Mar 2022, 15:22
by nscom
Thanks
So I integrate it in backend --> Components --> Phoca cart --> Control panel --> Options --> Shop --> Logo of the store the photo is in .png 500x373 px and 28ko the version php 7.4 joomla 4.1.0, phoca cart 4.00 RC and a template Helix ultimate 2.07
once the photo integrated I select and before saving a message in red below the save button "Internal server error"
Re: Photo problem of the store phoca cart 4 RC
Posted: 10 Mar 2022, 15:41
by Benno
Ok.
See the article I have linked:
Sometimes the problem can be caused by not correctly executed SQL query. Enabling Debug mode in Global Configuration of Joomla! can complete imformation displayed by PHP error reporting. In Global Configuration you can specify the displaying of PHP errors too (Global Configuration - Error Reporting). But be aware, it has no effect if the displaying of PHP errors is disabled on the server.
Perhaps we get more informations about the error. (The file and the line where the error occurs.)
Kind regards,
Benno
Re: Photo problem of the store phoca cart 4 RC
Posted: 10 Mar 2022, 16:06
by nscom
Ok I have activated the functions, on which tab should I check the error?
JInfo
Request
Session
Profile
Queries
Re: Photo problem of the store phoca cart 4 RC
Posted: 10 Mar 2022, 16:21
by nscom
Dear my host I have an error report that tells me that:
phoca-dem.com [Thu Mar 10 14:53:42.901271 2022] [fastcgi:error] [pid 7566:tid 140238373181184] [client 2a01:cb00:8116:aa00
178b:95ac:40b9:0] FastCGI: server "/home/clients/8399722003580998cfa6d8dd560bc36e/.config/apache/phoca-dem.com/.fpm/php5.external" stderr: set: 0 in /home/clients/8399722003580998cfa6d8dd560bc36e/public_html-phocacart/libraries/quixnxt/src/AssetManagers/StyleManager.php on line 713PHP message: PHP Warning: Illegal string offset 'unit' in /home/clients/8399722003580998cfa6d8dd560bc36e/public_html-phocacart/libraries/quixnxt/src/AssetManagers/StyleManager.php on line 716PHP message: PHP Notice: Uninitialized string offset: 0 in /home/clients/8399722003580998cfa6d8dd560bc36e/public_html-phocacart/libraries/quixnxt/src/AssetManagers/StyleManager.php on line 716
Any ideas?
Re: Photo problem of the store phoca cart 4 RC
Posted: 10 Mar 2022, 16:28
by nscom
This is line 713 and 716
// width
$this->desktop($selector, $this->_cssForBorderWidth($normal['properties']['border_width'], $normal['properties']['border_width']['unit']));
// radius
$this->desktop($selector, $this->_cssForBorderRadius($normal['properties']['border_radius'], $normal['properties']['border_radius']['unit']));
Re: Photo problem of the store phoca cart 4 RC
Posted: 10 Mar 2022, 17:14
by nscom
Maybe this other error ?
phoca-dem.com [Thu Mar 10 14:53:42.888562 2022] [-:warn] [pid 7566:tid 140238373181184] [client 2a01:cb00:8116:aa00
178b:95ac:40b9:0] FastCGI: too much stderr received from server "/home/clients/8399722003580998cfa6d8dd560bc36e/.config/apache/phoca-dem.com/.fpm/php5.external", increase FCGI_SERVER_MAX_STDERR_LINE_LEN (1023) and rebuild or use "\\n" to terminate lines