• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

images in shop extension

F

fixtures

Guest
dear "anyone-who-reads-this"!

i'm totally amazed, this new version finally adds some long-awated functionality to sitebuilder, both in the form of minor bugfixes and great modules.

sadly, i did find some annoying issues which seem bugs in sitebuilder software to me atm.

one of these issues is item-image handling in the shop module. whenever i upload an image to a product, it gets resized in a horrible way, totally humiliating the original ratio. i tried changing the image size options - no luck, they are ignored during the upload process.

check the example i've compiled for this post
http://teszt.weblapvarazslo.hu/page_1119787393968.html

my question to all of you would be is whether you had such problems, or maybe its just my installation of sitebuilder thats totally mess'd up ?

thanks for reading,
andrew
 
I also found this problem and notified SW about this along with a load of other bugs in the module - see my earlier post - Version 2 Shop.

They sent me an email saying they were passing it to there development team and would keep me informed. That was a couple of weeks ago - heard nothing yet!
 
You should enter to Modules section, click to 'shop', set correct path to Shop module in the 'Host' field. I guess it would help.
 
Thanks Danil,
checked this and the path is correct.
Any other ideas?
 
Such problems usually appear when Sitebuilder installed on systems with CPanel.

It happens because httpd works under owner nobody. But after installation all work files from packages has owner apache in RH or www in Suse.

This problem can be solved by changing owner for Sitebuilder's work directory

chowh -R nobody.nobody /usr/local/sitebuilder
 
Hi,

I encountered the same problem and moreover I had problems with the correct displayings of chars only in votes and shop module (my default charset is iso-8859-1). After I set in Sitebuilder's virtual host section the line
php_admin_value default_charset UTF-8
(likely the line AddDefaultCharset UTF-8 as recommended in installation manual), chars are correct displayed and also the pictures.

By the way you should comment out the line 274 (the first with beginning 'echo utf_wordwrap' ) in the file
/usr/local/sitebuilder/htdocs/modules/shop/www/styles/category_catalog_templates/1/template.xls
as otherwise a large number will displayed before category name. I suggest there was originally included for debugging purposes.

Markus
 
Hi Markus, folks,
we're having the same problem with the images at the shop module. I'm not quite sure what you mean with "Sitebuilder's virtual host section". Could you please write the full path to the archive we have to look at?
Thanks in advance for you help,
Miguel
 
Hi Miguel

Well, in the meantime I udated from 2.0 to 2.1. And the images problem arises again...

For a work-around try to comment out the lines with the "width" and "height" tags in file
/SITEBUILDERROOT/modules/shop/shop_client/styles/product_lst.xsl
around line 90. This applies only to version 2.1.

The issue with "virtual host section" in my previous posting: Sitebuilder's install routine extends Apache 2 configuration with a file "sitebuilder.conf" in /etc/apache2/vhosts.d/ . Therein you should add the line
php_admin_value default_charset UTF-8
(in Apache 1.3 this may be added in /etc/httpd/httpd.conf).

This should you do primarly if your php.ini has a different default value than charset UTF-8 (i. e. ISO-8859-1). Not sure, if that is still necessary in V 2.1.

Markus
 
Hi Markus,
thanks for your response about commenting out the two lines. It helped!

About the "virtual host section":
I found the sitebuilder.conf at /etc/httpd/conf/ . At line 13 I found the "AddDefaultCharset UTF-8". Now the question: What do you mean with "likely".. Should I just add the line "php_admin_value default_charset UTF-8" or should I replace it? (it's just because of my defficient English)

Then, I took a look at my php.ini and there is no line about the charsets. At other php.ini's I found something like that:

; PHP's built-in default is text/html
default_mimetype = "text/html"
;default_charset = "iso-8859-1"

What would you suggest me to insert at the php.ini?

Thanks again for your help,
Miguel
 
Hi Miguel

As you surely noticed, English is not my native tongue, too. So, don't worry. I meant to add the line. While the first correspond to Apache itself, the added one does so to php subsystem/engine. Preferably, you should do this rather in virtual host section than in php.ini, respectively httpd.conf's general section as otherwise your non Sitebuilder's web sites may be affected.

Markus
 
Hi Markus,
des Deutschen bin ich auch mächtiger, but for others it could be more problematic than our poor English! ;-)
I know that the following question has not directly to be with the thread discussed here, but could it be a problem not to have some charset line at the general php.ini? I'm having some problems with the decode64 when sending mails directly over the php funtion.
Perhaps we can discussed this directly over mail. Since you're not receiving mails or pm's over this forum, could you send me a pm so I can give you my email address?
There are other problems with the shop module and Paypal that nobody seems to answer at the forums and would be really helpful to solve.
Thanks again,
Miguel
 
Back
Top