Hi, (sry my bad english)
I think my zenphoto script get hacked, any bots spam some comments and i cant login in the zenphoto user CP... Admin.php says my passwort is wrong...
and in the gallery site is now:
Deprecated: Function ereg() is deprecated in /srv/www/vhosts/animesector.de/subdomains/one-piece/httpdocs/galerien/zp-core/functions-i18n.php on line 305 Deprecated: Function ereg() is deprecated in /srv/www/vhosts/animesector.de/subdomains/one-piece/httpdocs/galerien/zp-core/functions-i18n.php on line 305 Deprecated: Function ereg() is deprecated in /srv/www/vhosts/animesector.de/subdomains/one-piece/httpdocs/galerien/zp-core/functions-i18n.php on line 305 Deprecated: Function ereg() is deprecated in /srv/www/vhosts/animesector.de/subdomains/one-piece/httpdocs/galerien/zp-core/functions-i18n.php on line 305
and if i klick on a picture to view it i get just a link and not a large version of the image...
the website is:
http://one-piece.animesector.de/galerien/fanarts/
anyone know what i can do?
Well, what has probably happened is that your site has updated the PHP version. This particular message comes from PHP 5.3, I think. Anyway, it would also seem (although you don't state what version zenphoto you are using--always something we need to know if wa are to help) that you are not running the current version of Zenphoto.
http://one-piece.animesector.de/galerien/zp-core/admin.php
i see nothing in admin footer ore header... and the login dosent work =/
Please see the troubleshooting on how to reset admin passwords:
http://www.zenphoto.org/2009/03/troubleshooting-zenphoto/#16
You can also find the version in the HTML of the page at the botton. However, when you get script errors the script usually does not finish, so such things often are missing. There is also a script file in the zp-core folder named version.php which will tell you the version.
If you look at the HTML source code of http://one-piece.animesector.de/galerien/fanarts/ you find the version of zenphoto at the bottom just like sbillard said.
Your provider lied to you. PHP 5.3 adds this error (it was not in any previous versions of PHP, nor is it really necessary as the function that is being complained about is available in PHP at least until version 6.0.)
Anyway, There is no magic in software that makes changes propegate to old versions. When PHP 5.3 decide to put out this rediculous warning it was necessary to change Zenphoto to not use the functions in question. Such a change often (and in this case did) take much work and testing. But the change has been made and is in current versions of Zenphoto--thus the proscription to upgrade your version.