By Magika on
Hi
I am having real problems with the image/file upload function. When a user goes to upload/attach a file it appears to work fine but doesn't preview. With images it just shows the cross in top left corner as though it can't find the image. If I look at my site through ftp I can see the file has uploaded and the preview/thumbnail image to the designated folder. (Strangely the audio upload funtion works fine)
Any tips much appreciated, going mad here!!!!
Thanks
G
Comments
Error message
This is the message I am getting. I am getting really frustrated and its probably simple. Please help
Warning: main(includes/bootstrap.inc): failed to open stream: No such file or directory in /home/.jeffry/brokenboogie/pylonsounds.com/index.php on line 12
Warning: main(): Failed opening 'includes/bootstrap.inc' for inclusion (include_path='.:/usr/local/lib/php') in /home/.jeffry/brokenboogie/pylonsounds.com/index.php on line 12
Fatal error: Call to undefined function: drupal_page_header() in /home/.jeffry/brokenboogie/pylonsounds.com/index.php on line 13
Well, looks like
It clearly says it can not find:
/home/.jeffry/brokenboogie/pylonsounds.com/includes/bootstrap.inc
Check if its there and if the permissions are set correctly (cmod)
Any particular reason your home directory is invisible (.jeffry vs jeffry)?
Andre
-------------------------------------------------
http://www.opentravelinfo.com
http://www.aguntherphotography.com
Still no joy
Nice site by the way
i really haven't got much of a clue about this stuff so please bare with me.
I have no idea what the jeffry part is. I have as far as I know I never set anything up called this. My files reside in a folder sat on the main domain. I can't follow this link because it makes no sense to me.
As far as I know bootstrap should reside in
pylonsounds.com/swaps/includes/
Sorry again for being dumb but what permissions do I need to set. As far as I can, I have opened up all the permissions
Thanks
G
Check the server config
Is .jeffry maybe something your host set up? Could this be a server configuration issue? It looks like your index.php file is here:
/home/.jeffry/brokenboogie/pylonsounds.com/index.php on line 12
but it's trying to reference your bootstrap.inc file at .:/usr/local/lib/php based on this error.
Warning: main(): Failed opening 'includes/bootstrap.inc' for inclusion (include_path='.:/usr/local/lib/php') in
At first glance it looks more like a php error than a drupal error. Maybe someone with a bit more experience with server aliases and hosting can comment.
Sean Fuller
www.seanbfuller.com
--------------------
Sean B. Fuller
www.seanbfuller.com
You are the man
Basically dude thanks, I have just uploaded and can see my first image, for some reason file settings for my files folder kept bouncing from 755 to 740. Seems to be set on 755 and working
I can sleep well tonight
Glad to hear
Glad to hear you got something going
/home/.jeffry/brokenboogie/ is simply the file system path on the computer of your hosting provider.
I guess home/.jeffry/customername is what they auto generate.
This information is usefull if you want to copy files using a php script (i save my logfiles this way).
I guess the permissions are set this way by the ftp server. Must be the way they have configured their server. Or it is the ftp tool you are using. I am not sure.
Andre
-------------------------------------------------
http://www.opentravelinfo.com
http://www.aguntherphotography.com