Page 1 of 2

serendipity_admin_image_selector.php

Posted: Mon Dec 05, 2005 3:26 am
by list
hi, i have a prob to insert picture in my blog, i have this prob :

Warning: file_exists(): Unable to access /serendipity/uploads/Musique/Mana11.small.jpg in /var/www/free.fr/f/d/lister.blog/serendipity/serendipity_admin_image_selector.php on line 136

Posted: Mon Dec 05, 2005 4:17 am
by judebert
Sounds like you already have a file with that name in your uploads directory, and you don't have permissions set to overwrite it. I'd try using an FTP tool (or a site file manager, if one is provided) to find and rename or delete the file.

Incidentally, I thought pictures were supposed to go in the media directory. You can access it from your Admin page. Then again, maybe they have to go through the uploads directory to get there, making that whole though a big red herring.

Posted: Mon Dec 05, 2005 10:54 am
by garvinhicking
Judebert: Actually the "uploads" directory IS the "media directory". :-)

Posted: Tue Dec 06, 2005 4:36 am
by List
i have upload back up to thius file and now i have an error to

Warning: file_exists(): Unable to access /serendipity/uploads/Manga/zedmangas023934rn.small.jpg in /var/www/free.fr/f/d/lister.blog/serendipity/serendipity_admin_image_selector.php on line 105

Code: Select all

<?php
        if (!file_exists($file['imgsrc']) && $is_image) {

            $dimWidth  = $file['dimensions_width'];
            $dimHeight = $file['dimensions_height'];

            if ($file['hotlink']) {
                $thumbDim    = @serendipity_calculate_aspect_size($dimWidth, $dimHeight, $serendipity['thumbSize']);
                $thumbWidth  = $thumbDim[0];
                $thumbHeight = $thumbDim[1];
                $imgsrc      = $file['path'];
            } else {
                $thumbWidth  = $thumbsize[0];
                $thumbHeight = $thumbsize[1];
                $imgsrc      = $file['imgsrc'];
            }
?>
(si possible réponse en francais, merci)

Posted: Tue Dec 06, 2005 1:53 pm
by garvinhicking
Hi List!
Warning: file_exists(): Unable to access /serendipity/uploads/Manga/zedmangas023934rn.small.jpg in /var/www/free.fr/f/d/lister.blog/serendipity/serendipity_admin_image_selector.php on line 105
Serendpity is looking inside the path "/serendipity/uploads" for that file, but you installed Serendipity into "/var/www/free.fr/f/d/lister.blog/serendipity/".

So it seems that you did not properly configure the absolute upload path in your serendipity configuration. Both "Relative Upload path" and "upload path" should point to "uploads/". Where do they point at in your installation?
(si possible réponse en francais, merci)
No way, I'm sorry :)

Regards,
Garvin

Posted: Tue Dec 06, 2005 10:11 pm
by list
i have change the directy to the blog by error, now i have no acces to blog. ( http://lister.blog.free.fr/serendipity/ )
when to restaure this plz ? (sorry for my english)

Posted: Tue Dec 06, 2005 10:16 pm
by garvinhicking
You need to look at your .htaccess file as it seems to contain invalid settings. Either edit the file or temporarily remove it. It seems that one of the settings there is not allowed in your webserver (ErrorDocument or DirectoryIndex directives in the file)

HTH,
Garvin

Posted: Wed Dec 07, 2005 1:40 am
by list
thk i change parametre by default (comme avant, je pense) and now i have this prob :

Code: Select all

Warning: file_exists(): Unable to access /serendipity/templates/lili_test/index.tpl in /var/www/free.fr/f/d/lister.blog/serendipity/include/functions_config.inc.php on line 166

Warning: file_exists(): Unable to access /serendipity/templates/default/index.tpl in /var/www/free.fr/f/d/lister.blog/serendipity/include/functions_config.inc.php on line 166

Warning: file_exists(): Unable to access /serendipity/templates/default/index.tpl in /var/www/free.fr/f/d/lister.blog/serendipity/include/functions_config.inc.php on line 166

Warning: file_exists(): Unable to access /serendipity/templates/default/index.tpl in /var/www/free.fr/f/d/lister.blog/serendipity/include/functions_config.inc.php on line 166

Warning: file_exists(): Unable to access /serendipity/templates_c/lili_test^%%00^000^00000000%%.php in /var/www/free.fr/f/d/lister.blog/serendipity/bundled-libs/Smarty/libs/Smarty.class.php on line 1375

Warning: file_exists(): Unable to access /serendipity/templates/lili_test/ in /var/www/free.fr/f/d/lister.blog/serendipity/bundled-libs/Smarty/libs/Smarty.class.php on line 1637

Warning: file_exists(): Unable to access /serendipity/templates/default/ in /var/www/free.fr/f/d/lister.blog/serendipity/bundled-libs/Smarty/libs/Smarty.class.php on line 1637

Warning: Smarty error: unable to read resource: "" in /var/www/free.fr/f/d/lister.blog/serendipity/bundled-libs/Smarty/libs/Smarty.class.php on line 1088
I don't have lucky :(

Posted: Wed Dec 07, 2005 10:15 am
by garvinhicking
You configured your directories wrong. You entered "/serendipity" as one of your absolute paths, which is wrong.

Tell me what you entered for all paths within your configuration, and I'll tell you what's wrong.

Regards,
Garvin

Posted: Mon Dec 19, 2005 11:08 pm
by list
i have always this prob, and new prob, i don't see "archive" and other page to the blog... for http://lister.blog.free.fr/serendipity/

Posted: Tue Dec 20, 2005 2:10 pm
by garvinhicking
What do you mean? Your URL seems to work well.

Regards,
Garvin

Posted: Wed Dec 21, 2005 8:23 am
by Guest
i don't see other page, and historique...

Posted: Wed Dec 21, 2005 12:31 pm
by garvinhicking
Which URL doesn't show output for you?

We can't help you, if you're being unclear - so please try to explain more detailed what's happening. :-)

Best regards,
Garvin

Posted: Wed Dec 21, 2005 3:18 pm
by list
I don's see other page to the blog, and archive (november, etc...)

Sorry don't speak english :?

Posted: Wed Dec 21, 2005 4:27 pm
by garvinhicking
Okay, now I understand.

Then, I've already asked for it, but I'll ask it again: Please tell me what exactly you configured in the Paths sections of your Serendipity Configuration!

:-)

Regards,
Garvin