vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   File Storage Issue (https://vborg.vbsupport.ru/showthread.php?t=206366)

Chadi 02-23-2009 05:06 PM

File Storage Issue
 
I recently moved album picture storage type from database to file system

It shows now "Album pictures are currently being stored in the file system with direct access to thumbnails"

However, when viewing profiles or album lists, no full size, original images appear at all, just alt text. Thumbnails do show up though.

Full picture file path is (chmodded 0777)

This these methods
Full Picture File Path: /home/username/public_html/images/albums
Thumbnail File Path: /home/username/public_html/images/albums/thumbnails
URL to Thumbnails: images/albums

I also tried "images/albums" for all 3 above, same issue.

I disabled the plugin/hook system and the problem is still there.

Ran These (upon each change)
Rebuilt Thumbnail
Rebuild Recently Updated Albums

I even deleted vbseo portion from htaccess file as well (plugin disabled too). Same problem.

http://www.talkjesus.com/album.php?albumid=178
thumbnails work

Source example:
vbseo enabled:
Code:

<img src="http://www.talkjesus.com/members/jcovington-albums-+friend+++king...-picture180-1st-sermon.jpg" alt="1st sermon" class="tcattdimgresizer" border="0" />
vbseo disabled:
Code:

<img src="picture.php?albumid=363&amp;pictureid=1891" alt="Red Carpet" class="tcattdimgresizer" border="0" />

Click any thumbnail, shows only image alt attribute text instead.

Same issue with forumhome thumbnails too. Just text.

delmarva 02-24-2009 01:19 AM

Same problem here.. Any help would be appreciated.

Dismounted 02-24-2009 04:01 AM

Sometimes, using 777 permissions on directories (with some server configurations) make things go funky. Try 775.

Chadi 02-24-2009 04:54 AM

Quote:

Originally Posted by Dismounted (Post 1752951)
Sometimes, using 777 permissions on directories (with some server configurations) make things go funky. Try 775.

That only applies to those such as Linux servers running suPHP enabled, not w/o it though.

--------------- Added 24 Feb 2009 at 02:03 ---------------

Same issue with vbseo disabled and htaccess renamed to htaccess.bak (root folder).

With above disabled:

Source code
Enabled vbseo
And yet, thumbnails work fine because they point to the right path. It makes no sense at all.

Chadi 02-25-2009 09:35 PM

Problem found (thanks to vbseo staff help)

readfile function was disabled on my server's php.ini settings.

I had to remove that from the disable_functions line to get images working again.


All times are GMT. The time now is 06:42 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01402 seconds
  • Memory Usage 1,724KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete