Article image causes site to not load

This forum is for reporting bugs in Joomla!. Please don't report problems with extensions in here.
Forum rules
Forum Rules
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
k24
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Fri May 27, 2011 5:49 pm

Article image causes site to not load

Post by k24 » Tue Jan 03, 2012 10:27 pm

Hello. Anytime I try to insert an image in an article the website fails to load. When I remove the image from the article, the website loads.

I have images from previously published articles that do not cause any problems.

What I have done:
Searched "Article image causes site to not load" via Google and these forums. The closest I can come to what I am experiencing is :
http://forum.joomla.org/viewtopic.php?p=1328774

It's close but not the exact issue. Nevertheless I have tried to disable the SEF plugin and it has no effect.

The images are Saved for web and average about 130kb. I have only attempted 1 image.

I have successfully published articles that contain 2-10 images, but are only 8kb on average.

Has anything changed recently? Yes.
On December 20th I moved webhosts. The new webhost has updated their version of PHP to what the previous host's version was. They are also in the process of matching the modules that the previous host had loaded. My guess is that it is not the cause of the problem.

On the previous host I was able to publish and do everything without a hitch.

System information
PHP Built on: Linux vbjusa.com 2.6.18-274.12.1.el5 #1 SMP Tue Nov 29 13:37:46 EST 2011 x86_64
Database Version: 5.0.77
Database Collation: utf8_general_ci
PHP Version: 5.2.17
Web Server: Apache/2.2.3 (CentOS)
Web Server to PHP interface: cgi-fcgi
Joomla! Version: Joomla! 1.5.22 Stable [ senu takaa ama woi ] 04-November-2010 18:00 GMT
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20100101 Firefox/8.0

PHP Settings
Safe Mode: Off
Open basedir: None
Display Errors: On
Short Open Tags: On
File Uploads: On
Magic Quotes: Off
Register Globals: On
Output Buffering: Off
Session Save Path: /var/lib/php/session
Session Auto Start: 0
XML Enabled: Yes
Zlib Enabled: Yes
Disabled Functions: dl
Mbstring Enabled: Yes
Iconv Available: Yes
WYSIWYG Editor: Editor - No Editor

Config
$offline '0'
$editor 'jckeditor'
$list_limit '20'
$helpurl 'http://help.joomla.org'
$debug '0'
$debug_lang '0'
$sef '0'
$sef_rewrite '0'
$sef_suffix '0'
$feed_limit '10'
$feed_email 'author'
$gzip '0'
$error_reporting '6143'
$xmlrpc_server '0'
$log_path '/home/vbjusaweb/public_html/logs'
$tmp_path '/home/vbjusaweb/public_html/tmp'
$live_site ''
$force_ssl '0'
$offset '-8'
$caching '0'
$cachetime '15'
$cache_handler 'file'
$memcache_settings array()
$ftp_enable '0'
$ftp_host '127.0.0.1'
$ftp_port '21'
$mailer 'mail'
$fromname 'Dev Site'
$sendmail '/usr/sbin/sendmail'
$smtpauth '0'
$smtpsecure 'none'
$smtpport '25'
$smtphost 'localhost'
$MetaAuthor '1'
$MetaTitle '1'
$lifetime '15'
$session_handler 'database'
$sitename 'Vancouver Business Journal | Key to Southwest Washington Business'
$MetaDesc 'Joomla! - the dynamic portal engine and content management system'
$MetaKeys 'joomla, Joomla'
$offline_message 'This site is down for maintenance. Please check back again soon.'
(edited out any User or password info)

All the directory permissions are Writable.

I really hope that someone can help track this issue down. I've spent a couple weeks researching to no avail.

Thanks in advance for your help.

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 11523
Joined: Thu Feb 15, 2007 5:48 am
Location: Suzhou, China

Re: Article image causes site to not load

Post by toivo » Wed Jan 04, 2012 1:35 am

Do you have access to the PHP error log on the server? It may have error messages which explain why the problem occurs.
Disabled Functions: dl
Does your site have any custom plugin or extensions which use the dl function to load a PHP extension, for example to process images? Details: http://www.php.net/manual/en/function.dl.php
Toivo Talikka, Global Moderator

k24
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Fri May 27, 2011 5:49 pm

Re: Article image causes site to not load

Post by k24 » Wed Jan 04, 2012 3:03 pm

Toivo. We've gone through the error log with the host to try and track down the issue. No success. Would it be helpful to paste the log here?

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 11523
Joined: Thu Feb 15, 2007 5:48 am
Location: Suzhou, China

Re: Article image causes site to not load

Post by toivo » Wed Jan 04, 2012 7:28 pm

If there are error messages, not just notices and warnings, it would be useful.
Toivo Talikka, Global Moderator

k24
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Fri May 27, 2011 5:49 pm

Re: Article image causes site to not load

Post by k24 » Wed Jan 04, 2012 7:58 pm

Toivo. I'm told that "there are no error thrown of any kind in any of the logs on the server. When an image is in the article only index.php is requested. It returns a normal 200 response but the page is empty. Nothing else."

I've loaded images and published articles as the host has been monitoring the logs. When he says the page is empty it literally does not even generate a single line of markup when I viewsource.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 37519
Joined: Sat Apr 05, 2008 9:58 pm

Re: Article image causes site to not load

Post by Webdongle » Wed Jan 04, 2012 8:16 pm

Try using a standard Template, also try different Broswers.

Have you been pasting from MSword(or similar) into Articles ?
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"The definition of insanity is doing the same thing over and over again, but expecting different results": Albert Einstein

k24
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Fri May 27, 2011 5:49 pm

Re: Article image causes site to not load

Post by k24 » Wed Jan 04, 2012 9:32 pm

Webdongle. Done both with no change.

I thought the MS Word thing too. Used plain text and the Source button to make sure no foreign characters were inserted.

I think I have a resolution. Will post back if it is successful. Related to the Gavick Photoslide GK3 module.

k24
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Fri May 27, 2011 5:49 pm

Re: Article image causes site to not load

Post by k24 » Tue Jan 10, 2012 7:00 pm

It turns out that Gavick Photoslide Gk4 was the culprit. Here is what was done to resolve this.

The fix made applies as you're running suPHP so the Apache user is not the same as the user your site runs under. Might not apply in all scenarios. It also looks like there are newer versions of the Photoslide component so they might have already addressed the permissions issue in later releases. The adjustment:

File: modules/mod_news_pro_gk4/gk_classes/gk.thumbs.php
Added, near the end: chmod($cache_dir.$filename, 0644);


Hope this helps someone in the future.


Locked

Return to “Joomla! 1.5 Bug Reporting”