Why that my images not appear?

Events happening in the community are now at Drupal community events on www.drupal.org.
artshinobi-gdo's picture

Hi! I have installed Drupal 6.8...everything goes well but the problem when I install it is that the images of the theme (.jpg and .png) are not visible...is this the effect of php mbstring things? because theres an error saying "Operations on Unicode strings are emulated on a best-effort basis. Install the PHP mbstring extension for improved Unicode support." If this is the cause of not showing the images, how can i address the issue? thanks a lot

Comments

i dont know if this points you!

mj-gdo's picture

try to use this php script to path the images

Only local images are allowed.<?php
echo base_path() . path_to_theme() . "/images/image.png";
?>
">

Check out your php.ini file

XIAO_JO's picture

Check out your php.ini file if you have php_mbstring extension enabled

Thanks

artshinobi-gdo's picture

@mj
Am new here in drupal and i'm not sure what particular page should i put the php code u gave, is that in the theme page im using?
@merto
Thanks for the sent info, will ty to check it and get back to you

nway, thanks for helping me out here guys...

content of my php.ini

artshinobi-gdo's picture

Hi Merto, the content of my php.ini are the following..

php_value magic_quotes_gpc 0
php_value register_globals 0
php_value session.auto_start 0
php_value mbstring.http_input auto
php_value mbstring.http_output pass
php_value mbstring.encoding_translation off

as you can see, the php_value mbstring.encoding_translation is off, what word should I replace in here, pass or auto?
was the contain of php.ini is right? i think i just copy that code and transfer to my site...
thanks

sorry for late reply, You

XIAO_JO's picture

sorry for late reply,

You can search for "Dynamic extension" from your php.ini file and you'll see something like this
;extension=php_interbase.dll
;extension=php_ldap.dll
extension=php_mbstring.dll /should be unquoted/

then restart your server..

maybe a web server issue...

artshinobi-gdo's picture

Hi Merto! Thanks a lot for helping me out here, I really appreciate it. I will summarized my problem more specific...

I just upload my drupal website to my webspace of my hosting provider. I have upload and install Drupal. The only problem is that all the images doesnt appear and post this: "Operations on Unicode strings are emulated on a best-effort basis. Install the PHP mbstring extension for improved Unicode support. (Currently using Unicode library Standard PHP)", the other functions works well.

I have created php.ini file ( since i cant find any existing php.ini file in drupal) but still, its doesnt work, i still cant see my images and mbstring extension still not working.

I have tried uploading drupal to other testing site and seems everything works well. I think I have to consult this to the webserver administrator, maybe theres a problem with their server...

Thanks a lot for helping me here...Merry Xmas!

Frankfurtmacmoses's picture

Hi, I move my drupal 7 site to production, and all the theme images stop showing. including themes that came with drupal

Please help

OCA, SCJP, SCWCD, PMP

Drupal.org/node/1144136

marianojp's picture

This might give you an answer: Drupal.org/node/1144136
In addition:
Experiment Locally about
-Feeds Module
-Node Import Module
-Migrate Module - use this if feeds cannot handle it. But this require a bit of programming.

Hi Art, I assumed that your

XIAO_JO's picture

Hi Art, I assumed that your running on your localhost where php was installed. You really need to consult your hosting provider to know their configuration.

cheers...

possible solution

matthijs55's picture

(Working on my localhost)
I had the same issue: uploading a file, but there was nothing stored in my /image map after the upload. I reinstalled drupal to find out if it was a server communication issue, but file upload was working correctly now. (=server settings good)
Solution that did work for me:
re-enabled all modules 1-by-1 and found out that the devel module was responsible. Probably a bug with an other module.
Good luck

Drupal.org/node/1144136

marianojp's picture

This might give you an answer: Drupal.org/node/1144136
In addition:
Experiment Locally about
-Feeds Module
-Node Import Module
-Migrate Module - use this if feeds cannot handle it. But this require a bit of programming.

Philippines

Group organizers

Group categories

Post category

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: