Announcement

#1 2016-09-19 21:11:21

FirstTimeUser
Member
2016-09-19
3

[SOLVED] Combined CSS/JS problem - mbstring.func_overload

Hello All

I need help with fresh install of Piwigo.

Looks like something wrong with combined JS/CSS files - they are just not added / loaded to the Piwigo HTML pages. So I could see only plain HTML.

Only one page partially loads JS / CSS  http://__/profile (screenshot attached)

I found and add some options

$conf['template_combine_files'] = false;
$conf['template_force_compile'] = true;

to local/config/database.inc.php

But it doesn't helps

Smarty templates are compiling and found in _data/template_c as JS / CSS combined files too (_data/combined)

Access rights on there files looks normal

-rw-r--r-- 1 nginx nginx  23K Сен 19 22:07 ljbwkp^39fc9456a545a9c05e5a27aebc84011830ffc5bc_0.file.index.tpl.php


I reupload all files of Piwigo, use another theme


Please point me - what I'm doing wrong?

Thank you for any assistance


Piwigo version:  2.8.2
PHP version: 5.3.3
MySQL version: 5.0.95
Piwigo URL: http://___

Last edited by FirstTimeUser (2016-09-25 22:16:16)

Offline

 

#2 2016-09-19 21:27:11

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7207

Re: [SOLVED] Combined CSS/JS problem - mbstring.func_overload

FirstTimeUser wrote:

I found and add some options

$conf['template_combine_files'] = false;
$conf['template_force_compile'] = true;

to local/config/database.inc.php

Hi :-)

this option is for file config.inc.php in local folder


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#3 2016-09-19 22:35:04

FirstTimeUser
Member
2016-09-19
3

Re: [SOLVED] Combined CSS/JS problem - mbstring.func_overload

Thanks.

Try to create file with these options in

include/config.inc.php
local/config.inc.php
local/config/config.inc.php

No changes.  Not sure that it's really reading from any of these location. I don't see any changes

What I'm doing wrong?

Offline

 

#4 2016-09-22 16:23:06

donjoe
Guest

Re: [SOLVED] Combined CSS/JS problem - mbstring.func_overload

Hi!

I have this exact same problem. Just wanted to try out Piwigo just to encounter this. Piwigo is unusable to me. I'm running nginx with php-fpm. Will provide my config files or any other info necessary to who ever is willing to try and help me.

Thanks in advance.

 

#5 2016-09-25 15:32:25

donjoe
Guest

Re: [SOLVED] Combined CSS/JS problem - mbstring.func_overload

donjoe wrote:

Hi!

I have this exact same problem. Just wanted to try out Piwigo just to encounter this. Piwigo is unusable to me. I'm running nginx with php-fpm. Will provide my config files or any other info necessary to who ever is willing to try and help me.

Thanks in advance.

Got this solved. It turned out that my problem was probably not the same as the "FirstTimeUser"'s. My problem was the missing

Code:

fastcgi_param PATH_INFO $path_info;

from the nginx config. Due to this piwigo failed to serve any .js or .css file. It even failed to serve images.

Adding this directive fixed my problems.

 

#6 2016-09-25 22:15:03

FirstTimeUser
Member
2016-09-19
3

Re: [SOLVED] Combined CSS/JS problem - mbstring.func_overload

SOLVED

"Don't use the mbstring.func_overload" (c) ;-) ;-) ;-)

It is fixes the problem

mbstring.func_overload = 0
;mbstring.func_overload = 7

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact