Page 1 of 1

[SOLVED] warnings on Samsung tablet

Posted: Sat Jan 18, 2014 10:53 am
by frankmanl
I set up a website using CGSmartImage.
It all worked fine untill I moved the whole site to another server (I followed http://docs.cmsmadesimple.org/moving).
On my PC the new site still is fine, but on my Samsung Galaxy Tab2 10.1 I get warnings like

Code: Select all

Warning: curl_setopt(): Unable to acces (...)/_cmsms/tmp/cache... in (...)/_cmsms/modules/CGExtensions/lib/http/class.http.php on line 855 (or 860)
The smart images are displayed, but these warnings are displayed above them.
On a friend's iPad some smart images had a warning (the ones at the bottom of the left menu), some did not (the ones in the main content area).
When, on my Samsung, I check "weergave bureaublad" (display desktop?? - I don't know the correct translation from dutch) I don't get these warnings.
Is this normal behaviour for mobile browsers? Is there something I can do about it?

Frank

setup of new site:
----------------------------------------------

Cms Version: 1.11.9

Installed Modules:

CMSMailer: 5.2.2
CMSPrinting: 1.0.5
FileManager: 1.4.3
MenuManager: 1.8.6
MicroTiny: 1.2.5
ModuleManager: 1.5.5
News: 2.14.1
Search: 1.7.11
ThemeManager: 1.1.8
CGExtensions: 1.38.1
TinyMCE: 2.9.12
Gallery: 1.6.1
CGSmartImage: 1.15


Config Information:

php_memory_limit:
process_whole_template:
max_upload_size: 64000000
url_rewriting: internal
page_extension:
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true


Php Information:

phpversion: 5.3.3
md5_function: Aan (Waar)
gd_version: 2
tempnam_function: Aan (Waar)
magic_quotes_runtime: Uit (Onwaar)
E_STRICT: 0
E_DEPRECATED: 0
memory_limit: 128M
max_execution_time: 60
output_buffering: 4096
safe_mode: Aan (Waar)
file_uploads: Aan (Waar)
post_max_size: 64M
upload_max_filesize: 64M
session_save_path: Geen controle omdat 'open_basedir' actief is
session_use_cookies: Aan (Waar)
xml_function: Aan (Waar)
xmlreader_class: Aan (Waar)


Server Information:

Server Api: apache2handler
Server Db Type: MySQL (mysqli)
Server Db Version: 5.1.71
Server Db Grants: Er is een "GRAND ALL" permissie gevonden, alles lijkt in orde.
Server Time Diff: Geen tijdverschil aangetroffen


----------------------------------------------

Re: warnings on Samsung tablet

Posted: Sat Jan 18, 2014 12:38 pm
by velden
I get those warnings too on my Samsung tab.

I *think* you a) did not clear cache after moving the site or b) don't have set right permissions on the /tmp folder.

That said: CGSmartImage has some options to do smart things for mobile devices you can turn of. Maybe that works around your problem.

Re: warnings on Samsung tablet

Posted: Sat Jan 18, 2014 12:51 pm
by frankmanl
I *think* you a) did not clear cache after moving the site or b) don't have set right permissions on the /tmp folder.
a) I did clear the cache, both before and after moving the site
b) permissions 777
CGSmartImage has some options to do smart things for mobile devices you can turn of
In CGSmartImage I switched off Enable Responsive Images which solved the problem
Thank you.

F.