phpthumb failing on Windows

More
3 years 5 months ago #79359 by wiebe
Replied by wiebe on topic phpthumb failing on Windows
sadly that is not the issue:

<VirtualHost *:80>
DocumentRoot D:/_Boxed
ServerName boxed.nl
<Directory "D:/_Boxed/">
AllowOverride All
Options +Indexes +FollowSymLinks +MultiViews
Order allow,deny
Allow from all
</Directory>
</VirtualHost>

Please Log in or Create an account to join the conversation.

More
3 years 5 months ago - 3 years 5 months ago #79360 by ggppdk
Replied by ggppdk on topic phpthumb failing on Windows
Hello

phpThumb_debug.txt
shows that website is under document root

$_SERVER[DOCUMENT_ROOT] = D:/_Bijkiki
$this->cache_filename = string(175) "D:\_Bijkiki\components\com_flexicontent\librairies\phpthumb\cache\\

and it is not under D:/_Boxed but under D:/_Bijkiki


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
Last edit: 3 years 5 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
3 years 5 months ago #79361 by wiebe
Replied by wiebe on topic phpthumb failing on Windows
sorry: I pasted the wrong section

<VirtualHost *:80>
DocumentRoot D:/_Bijkiki
ServerName bij.nl
<Directory "D:/_Bijkiki/">
AllowOverride All
Options +Indexes +FollowSymLinks +MultiViews
Order allow,deny
Allow from all
</Directory>
</VirtualHost>

Please Log in or Create an account to join the conversation.

More
3 years 5 months ago - 3 years 5 months ago #79476 by iamrobert
Hi - I also have this issue.

I believe it's because we are getting double slash in the initial URL:

components/com_flexicontent/librairies/phpthumb/phpThumb.php?src=%2F%2Fcomponents%2Fcom_flexicontent%2Fmedias%2Fabout-page.png&w=600&h=600&zc=1&q=95&ar=x&f=png&hash=

Changing it from

src=%2F%2Fcomponents

to:

src=%2Fcomponents or src=/components

the image generates fine, and works for me.

Just not sure how to implement it sitewide. How can we change this?

The image generates correctly in the frontend, and on the server.
Last edit: 3 years 5 months ago by iamrobert.

Please Log in or Create an account to join the conversation.

More
3 years 5 months ago #79477 by ggppdk
Replied by ggppdk on topic phpthumb failing on Windows
Hello

@iamrobert thanks

i have made and committed a proper fix of the double slash
will be in next release


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.470 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline