Image / Thumbnail Issues »  Show posts from    to     

Icy Phoenix


Old Support Topics - Image / Thumbnail Issues



BeachTyme [ Tue 30 Aug, 2011 21:58 ]
Post subject: Image / Thumbnail Issues
Hi,

My forum is acting a bit strange when trying to generate thumbnails for hot linked images using the [IMG] tags.

I recently moved the forum to a new web host and all went well. The only issue was some of the posts were showing the thumbnails and some were not.

I've tried over and over to get the settings correct as well as regenerate the thumbs, clear caches, etc. Doesn't seem to be cooperating at this point. Edit: Forgot to mention that the web host = hostgator.com

www.FishPWC.com is the domain.

Any assistance would be appreciated.

6097828792_8b32e6aa24_b


spydie [ Tue 30 Aug, 2011 22:09 ]
Post subject: Re: Image / Thumbnail Issues
sounds like a server settings issue

have a look if allow_url_fopen is set to on


BeachTyme [ Tue 30 Aug, 2011 23:39 ]
Post subject: Re: Image / Thumbnail Issues
spydie wrote: [View Post]
sounds like a server settings issue

have a look if allow_url_fopen is set to on


allow_url_fopen On On

What I don't get is some of them work, some did not... I've been going in circles trying to get it to work.


spydie [ Tue 30 Aug, 2011 23:56 ]
Post subject: Re: Image / Thumbnail Issues
have you tried to switch gd off??


BeachTyme [ Wed 31 Aug, 2011 01:24 ]
Post subject: Re: Image / Thumbnail Issues
spydie wrote: [View Post]
have you tried to switch gd off??


Yes, I tried that.

Where are the thumbnails stored when they're generated? Perhaps I can restore them as the old board is still at the old web host.


spydie [ Wed 31 Aug, 2011 08:05 ]
Post subject: Re: Image / Thumbnail Issues
in yoursite/files/thumbs


BeachTyme [ Wed 31 Aug, 2011 19:15 ]
Post subject: Re: Image / Thumbnail Issues
spydie wrote: [View Post]
in yoursite/files/thumbs


I should have figured that one out for myself... Sorry, the frustration is beginning to overwhelm my logic process.

I copied the thumbs from the old forum directory and I'm back to some working, some do not.

For instance:

http://www.fishpwc.com/index.php [Is now working.]



http://www.fishpwc.com/viewtopic.php?f=4&t=29 [Does not appear to be working]



This is a strange issue. I did read the support post about someone else having a similar problem and it was solved by doing something with the gallery's ??


spydie [ Wed 31 Aug, 2011 20:25 ]
Post subject: Re: Image / Thumbnail Issues
hm

I´ve got my sites on the same hoster, and have no problems at all.

might have to do something with thumb size and album config


BeachTyme [ Wed 31 Aug, 2011 22:27 ]
Post subject: Re: Image / Thumbnail Issues
On the thumbnail images that are displaying correctly, I can right click on the thumbnail > Open image in new tab and it's there.

On the ones that are not displaying, the tab shows the following error:

"Forbidden

You don't have permission to access /image_thumbnail.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Apache/2.2.19 (Unix) mod_ssl/2.2.19 OpenSSL/0.9.8r DAV/2 mod_fcgid/2.3.6 FrontPage/5.0.2.2635 mod_bwlimited/1.4 mod_auth_passthrough/2.1 Server at www.fishpwc.com Port 80"


==

Edit, just discovered another issue, I am also receiving this error when I try to move a post:

Could not insert data into logs table

DEBUG MODE

SQL Error : 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's Lounge', '2')' at line 2

INSERT INTO ip_logs (log_time, log_page, log_user_id, log_action, log_desc, log_target) VALUES ('1314822541', 'modcp.php', '2', 'MODCP_MOVE', '71;6;Angler's Lounge', '2')

Line : 92
File : functions_mg_log.php

==

I'm wondering if it would be better to just wipe everything out and start over at this point...?

I have all the files at the other web host and can download them. I have several backups, etc.


spydie [ Wed 31 Aug, 2011 22:49 ]
Post subject: Re: Image / Thumbnail Issues
might be a good idea, to reupload everything, but do it in Binary Mode of your client


BeachTyme [ Thu 01 Sep, 2011 22:08 ]
Post subject: Re: Image / Thumbnail Issues
As of today, still having the same issues. I have started over on everything and it's still not working, same debug error when I try and move a post and same thumbnail issues.

I have changed the DNS back to the old host where the old board is located. I am going to do some testing there and see if I can figure out what's going on and why this is happening...!


Mighty Gorgon [ Wed 07 Sep, 2011 20:34 ]
Post subject: Re: Image / Thumbnail Issues
Very strange...

Have a try with this:

OPEN includes/functions_mg_log.php
FIND
Code: [Hide] [Select]
((STRIP) ? addslashes($db_log['desc']) : $db_log['desc'])

REPLACE WITH
Code: [Hide] [Select]
$db->sql_escape($db_log['desc'])


BeachTyme [ Wed 07 Sep, 2011 21:15 ]
Post subject: Re: Image / Thumbnail Issues
It's definitely something to do with the naming at this point, but I think it's DB related.

The DB is small as there isn't that many posts, but I do think it's corrupting something on import.

I'm going to try a few different things this weekend and see if I can get it working.

Thank you for the reply, Luca. We shall see.




Powered by Icy Phoenix