Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server path does not exist. Ensure variable $_SERVER['DOCUMENT_ROOT'] is set correctly #496

Open
GoogleCodeExporter opened this issue Mar 30, 2016 · 1 comment

Comments

@GoogleCodeExporter
Copy link

Hi, after installation of Timthumb on a server, ( with cache folder and correct 
permissions , as specified on 
http://www.binarymoon.co.uk/2010/11/timthumb-hints-tips/ and documentation ) 
this one still don't want to display the picture. No problem on a local 
installation with Xampp, or on another server. 

I get this specific error : 
>> A TimThumb error has occured
>> The following error(s) occured:
>> * Server path does not exist. Ensure variable $_SERVER['DOCUMENT_ROOT'] is 
set correctly
>> * Could not find the internal image you specified.

link : 
http://manujarvinen.com/~secret/testing/Artwork-Web-Folder-master_new/lib/timthu
mb.php?src=http://manujarvinen.com/~secret/testing/Artwork-Web-Folder-master_new
/01_concept-art_demo-picture.jpg&w=1100

'internal image' link is active ( 
http://manujarvinen.com/~secret/testing/Artwork-Web-Folder-master_new/01_concept
-art_demo-picture.jpg ), 
Any hint how this could be solved, and what should I try ? How to set correctly 
$_SERVER['DOCUMENT_ROOT'] ? Is it the real issue ? Thanks! 

Timthumb version : last SVN , and also tested with an older 2.8.11

Original issue reported on code.google.com by [email protected] on 16 Sep 2014 at 12:10

@GoogleCodeExporter
Copy link
Author

Hi, after research ; the bug was happening because of the tilde symbol "~" on 
the URL.
More informations here :  
http://elementdesignllc.com/2012/01/how-to-fix-timthumb-using-a-virtual-director
y-url-contains-tildes/ ; removing it solve the issue.

Original comment by [email protected] on 16 Sep 2014 at 7:52

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant