ZenphotoCMS Forum
Illegal string offset 'current_theme' - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Illegal string offset 'current_theme' (/thread-10126.html)



Illegal string offset 'current_theme' - georgefan - 2012-07-01

It always shows an error when I hit a photo:

PHP Warning: Illegal string offset 'current_theme' in D:\myserver\zenphoto\zp-core\functions-basic.php on line 1339

I use windows7+IIS+mysql
Zenphoto version 1.4.2.4 [10045]
Current locale setting: Chinese (Simplified)_People's Republic of China.936

current theme: Effervescence+
PHP version: 5.4.4

Graphics: PHP GD bundled (2.0.34 compatible)
PHP momory limit: 128M
MySql version: 5.5.20

thanks!




Illegal string offset 'current_theme' - sbillard - 2012-07-01

Something did not work right when you installed Zenphoto. (Did you do a normal install as per the instructions?). Anyway, you can correct this by changing your theme away from Effervescence+ and then changing it back.




Illegal string offset 'current_theme' - georgefan - 2012-07-02

thank you.
when I click on the photo, it still shows:

PHP Warning: Illegal string offset 'current_theme' in D:\myserver\zenphoto\zp-core\functions-basic.php on line 1339




Illegal string offset 'current_theme' - acrylian - 2012-07-02

Have you tried another theme?




Illegal string offset 'current_theme' - qb84 - 2012-07-02

I've had the same issue on Windows. In PHP you can disable to output errors but it will still log to the log file.