Recent Topics

1 Jul 05, 2011 17:28    

I have created two seperate B2E installations on the same host and database (different SQL prefixes and file segragation) and each is experiencing the same issues. After several hours searching for similar problems, I'm left with creating a new thread.

Problem: Uploaded photos are not displaying properly on any pages. All photos linked to pages and the avatar in the side bar appear as a little red X. If you click the broken link the picture loads by it self in another page just fine. This same problem is seen in the thumbnails in the backoffice file navigator. Also the random picture widget is failing to load pictures. The image files can be located by FTP in the media folder.

Media folders are 777
B2E V 4.0.5
SQL V 4.1.11-Debian_4sarge8
PHP V 4.4.4-10+hw1

PHP register_globals On
PHP allow_url_fopen On
PHP Magic Quotes On (magic_quotes_gpc)
PHP opcode cache none

GD Library version2.0 or higher
GD JPG SupportRead/Write
GD PNG SupportRead/Write
GD GIF SupportRead/Write
GD FreeType SupportYes

Thanks in advance.

2 Jul 16, 2011 22:04

UPDATE: Workaround discovered, but true solution is preferred...
The workaround eliminates possibility of using a photoblog.
Also Avatars still do not work.
The random picture widget does not work.

If you click the link of the picture in the file manager the picture is displayed. Opening the properties of that picture gives a functional link.
That link can be embedded into the blog post using [img] tags.

Can anyone help me solve this for real?

3 Jul 16, 2011 23:50

Open /htsrv/getfile.php and edit this at the top

// Check permission:
if( ! $public_access_to_media )
{
	if( ! isset($current_User) )
	{    // Comment-out to allow visitors view protected files
		// debug_die( 'No permission to get file (not logged in)!', array('status'=>'403 Forbidden') );
	}

5 Jul 17, 2011 03:23

I contacted my webhost and was able to resolve most of the issues.

The PHP version need to be upgraded.
from 4.4.4-10+hw1
to 5.3.3-7+squeeze1


Form is loading...