serendipity_admin_image_selector.php

Found a bug? Tell us!!
list

serendipity_admin_image_selector.php

Post 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
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post 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.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Judebert: Actually the "uploads" directory IS the "media directory". :-)
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
List

Post 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)
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
list

Post 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)
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
list

Post 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 :(
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
list

Post 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/
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

What do you mean? Your URL seems to work well.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Guest

Post by Guest »

i don't see other page, and historique...
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
list

Post by list »

I don's see other page to the blog, and archive (november, etc...)

Sorry don't speak english :?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply