Welcome to Geeklog Monday, July 15 2019 @ 08:47 pm EDT

Geeklog Forums

Images Not Resolving After Upgrade to GL 1.7.1sr1


Status: offline

winnerdk

Forum User
Full Member
Registered: 24/04/05
Posts: 339
Location:Panama City, Republic of Panama
:helpme:

I just upgraded from GL 1.6.1 to GL 1.7.1sr1

However, now for some reason the images on the website are not resolving.

When I inspect the elements, it shows the URL to the image is supposedly http://www.panama-guide.com/images/articles/20110120104854560_1.jpg (for example.)

Before I started the upgrade I saved all of the "old" files and renamed the public_html directory so I have all of the files that were in this "images/articles" directory.

However, the most recent images are not in this directory.

I vaguely remember something about now the images are resolved through some other means from the database, but I forget the details.

(Hold on, let me check something in the database...)

That's what I thought. All of the images are in the article/images of the database. So, the files are there.

Where are they (I figured that out) but what am I doing wrong, and what do I have to change so that the images will resolve on the website?

And for the record, I also vaguely remember having a similar problem when I upgraded to GL 1.6.1

Thanks

Don Winner
www.panama-guide.com
Faithful Geeklog user since 2004

Status: offline

winnerdk

Forum User
Full Member
Registered: 24/04/05
Posts: 339
Location:Panama City, Republic of Panama
Well, I still can't figure it out.

I posted a new article with an image and that worked fine.

The URL to the image is displayed as http://www.panama-guide.com/images/articles/20110125130015883_1.jpg

However, when I look in that file directory - the image itself is not there.

The image is in the database file.

So, the question remains - what do I have to change so that all of the other images in the database will display properly, as this one does?

I really need some help on this. In fact, this is the last remaining major obstacle to a successful upgrade from GL 1.6.1 to GL 1.7.1sr1

HELP! What am I doing wrong? What am I forgetting to move or modify?

(And this is still the kind of stuff that drives me crazy about Geeklog)

Don Winner
www.panama-guide.com
Faithful Geeklog User Since 2004

Status: offline

Laugh

Site Admin
Admin
Registered: 27/09/05
Posts: 1355
Unless you have done some mods or something the images should save in the /image/articles/ directory. The table in the database is just for storing the name of the image files and the story they belong too.
One of the Geeklog Core Developers.

Status: offline

winnerdk

Forum User
Full Member
Registered: 24/04/05
Posts: 339
Location:Panama City, Republic of Panama
Thanks for replying.

The images are NOT being stored in the images/articles directory. They are going straight to the gl_article_images table of the database.

It appears as though the images on the website are being generated by Javascript. Does that make any sense?

Don

Status: offline

winnerdk

Forum User
Full Member
Registered: 24/04/05
Posts: 339
Location:Panama City, Republic of Panama
This is what I'm getting for the images that don't work...

Request URL:http://www.panama-guide.com/images/articles/20110118155648557_1.jpg
Request Method:GET
Status Code:404 Not Found
Request Headers
Accept:*/*
Accept-Charset:ISO-8859-1,utf-8;q=0.7,*;q=0.3
Accept-Encoding:gzip,deflate,sdch
Accept-Language:en-US,en;q=0.8
Cache-Control:max-age=0
Connection:keep-alive
Cookie:__utma=70639249.1158728967718878200.1241639029.1260795898.1261069586.851; logintheme=cpanel; cprelogin=no; cpsession=cgq4DzfX1oI15e2Au4bYtVadHk_TCivjcZIbXPgR0xo94EeHsx1MuaD3MMvmGLvh; geeklog=4; password=5a92f00a3298292c1630e1ff6fe14c6b; theme=professional; gl_session=4815433; OAID=421ff6c70d1641398b2eecd284c8843c
Host:www.panama-guide.com
Referer:http://www.panama-guide.com/
User-Agent:Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10
Response Headers
Connection:Keep-Alive
Content-Type:text/html; charset=iso-8859-1
Date:Tue, 25 Jan 2011 19:13:29 GMT
Keep-Alive:timeout=15, max=90
Server:Apache/1.3.42 (Unix) PHP/4.4.9 mod_log_bytes/1.2 mod_bwlimited/1.4 mod_auth_passthrough/1.8 FrontPage/5.0.2.2635 mod_ssl/2.8.31 OpenSSL/0.9.7a
Transfer-Encoding:chunked

And I know, that says the file should be in the images/articles directory and it's not there.

Also, I just published a new article with an image. The image displays on the website just fine. However, it's also not in the images/articles directory.

The image that is displaying properly gives me the following as headers;


equest URL:http://www.panama-guide.com/images/articles/20110125130015883_1.jpg
Request Method:GET
Status Code:304 Not Modified
Request Headers
Accept:*/*
Accept-Charset:ISO-8859-1,utf-8;q=0.7,*;q=0.3
Accept-Encoding:gzip,deflate,sdch
Accept-Language:en-US,en;q=0.8
Cache-Control:max-age=0
Connection:keep-alive
Cookie:__utma=70639249.1158728967718878200.1241639029.1260795898.1261069586.851; logintheme=cpanel; cprelogin=no; cpsession=cgq4DzfX1oI15e2Au4bYtVadHk_TCivjcZIbXPgR0xo94EeHsx1MuaD3MMvmGLvh; geeklog=4; password=5a92f00a3298292c1630e1ff6fe14c6b; theme=professional; gl_session=4815433; OAID=421ff6c70d1641398b2eecd284c8843c
Host:www.panama-guide.com
If-Modified-Since:Tue, 25 Jan 2011 18:07:42 GMT
If-None-Match:"30063e-11e2e-4d3f116e"
Referer:http://www.panama-guide.com/
User-Agent:Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10
Response Headers
Connection:Keep-Alive, Keep-Alive
Date:Tue, 25 Jan 2011 19:13:26 GMT
ETag:"30063e-11e2e-4d3f116e"
Keep-Alive:timeout=15, max=95
Server:Apache/1.3.42 (Unix) PHP/4.4.9 mod_log_bytes/1.2 mod_bwlimited/1.4 mod_auth_passthrough/1.8 FrontPage/5.0.2.2635 mod_ssl/2.8.31 OpenSSL/0.9.7a

And I swear to God, that image is not in the images/articles directory either.

Can you see why I'm confused?

Again, Help!

Don

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/02
Posts: 13073
Location:Stuttgart, Germany
The gl_article_images table only contains the names of the images, not the actual images itself. This table is used to keep track of which images belongs to which story. The actual images are still stored in the file system, in images/articles.

Now, you could change that path in the Configuration if you wanted. But from looking at http://www.panama-guide.com/article.php?story=20110125130015883, this does not appear to be the case.

So I'd suggest:
- Double-check that you're looking at the correct directory. The one that contains the image of the lady in the bikini should also contain all your other images.
- Check the permissions. The first image URL you posted looks correct - but maybe the webserver is simply not allowed to read that image (wrong permissions).

bye, Dirk

Status: offline

winnerdk

Forum User
Full Member
Registered: 24/04/05
Posts: 339
Location:Panama City, Republic of Panama
I'm telling you, this is really, really weird.

The image of the girl in the bikini is NOT in the public_html/images/articles directory. Really, as far as I can tell and checking using four different methods - that file is not located in that directory.

However, it displays correctly.

And, I have no idea how it's doing it.

There are images in the public_html/images/articles directory, but they are all old like from 2005 and 2006.

And the permissions for those files are all 644.

This one simply doesn't make any sense at all.

Don

Status: offline

winnerdk

Forum User
Full Member
Registered: 24/04/05
Posts: 339
Location:Panama City, Republic of Panama
OK, more weirdness.

The new file of the girl in the bikini (still) does not show up in FTP programs such as WS FTP 12 Professional or Filezilla. However when I checked on the server using the CPanel File Manager, lo and behold, it's there.

And, from what you guys have told me that no - all of the images have to be in the images/articles directory - then I can only assume that for some reason, somehow, the files got del ... Wait a damn minute...

Guess what? When I looked at the same directory using the File Manager program on CPanel, there they are! Son of a bit.....

OK, so now it's just a matter of moving the files.

Lesson = don't trust what an FTP program is telling you.

Sorry for the inconvenience, boys...

Don

Status: offline

::Ben

Forum User
Full Member
Registered: 14/01/05
Posts: 1569
Location:la rochelle, France
Sometime the drag and drop function from the ftp program make bad joke. Confused

::Ben
I'm available to customise your themes or plugins for your Geeklog CMS

Status: offline

winnerdk

Forum User
Full Member
Registered: 24/04/05
Posts: 339
Location:Panama City, Republic of Panama
I was using two programs that are supposedly the "best" for FTP - IPswitch WS FTP Professional, and Filezilla 3.3.5.1 - both of them gave me the same screwed-up results.

Only during the course of this conversation did I get the bright idea to check the File Management program within CPanel to verify what the FTP programs were telling me, and that's when I found out they were "lying".

I suspect it might have something to do with file sizes or speed limits built into those programs, because there are literally thousands of image files in the directory in question. I think they "gagged" on the problem.

Anyway, I tried to move the files using the File Management program in CPanel, and it also "gagged."

Finally, I just submitted a help ticket to the guys who host my dedicated server and asked them to move the image files. That should do it.

What a headache. I've been banging away on this upgrade for two days, and most of by problems have been about poor programs to access the server. Oh well, live and learn.

Don

All times are EDT. The time is now 08:47 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content