Member
Member
Fotoman   2010-07-05, 10:03
#1

Hi!

After upgrading to the newest version, I get some errors in the album, where a single picture or video is shown:

Warning: Missing argument 1 for checkforPassword(), called in /mnt/web3/51/75/5103975/htdocs/URL/themes/zenpage-default/image.php on line 51 and defined in /mnt/web3/51/75/5103975/htdocs/URL/zp-core/template-functions.php on line 4338

Warning: Missing argument 2 for checkforPassword(), called in /mnt/web3/51/75/5103975/htdocs/URL/themes/zenpage-default/image.php on line 51 and defined in /mnt/web3/51/75/5103975/htdocs/URL/zp-core/template-functions.php on line 4338

URL = URL of my site.

What does that mean? How can I fix it?
Thanks for your help!

Fotoman

Member
Member
Fotoman   2010-07-05, 10:05
#2

And another argument seem to be wrong. Below the image:

Notice: getImageEXIFData is out of date. Use getImageMetaData(). in /mnt/web3/51/75/5103975/htdocs/strickwerk/foto/zp-core/zp-extensions/deprecated-functions.php on line 211.

Administrator
Administrator
acrylian   2010-07-05, 10:26
#3

Remove the calls for checkForPassword from whatever theme you are using. They are not needed anymore (this has been covered several tims on the forum....)

The 2nd notice tells you actually what to do.

Member
Member
Fotoman   2010-07-05, 10:47
#4

Hi acrylan!

Hm, as I'm not that in in programming PHP, I would need some help here please.

I removed it of template-functions.php (line 4338 to 4359), but now zp-extensions/hitcounter.php on line 17 gives back another checkForPassword error. Here I don't really see the beginning an the end of the part to remove.

  1. In what data is this call for checkForPassword?
  2. Is there a cleaning script that rolls through all data to clear ist of this call?
  3. Is the a bunch of updated data files that just can be copied over the ones with the error?

...

Member
Member
Fotoman   2010-07-05, 12:34
#5

Okay, I think this was a missmatch between new version and (old, modified) Zenpage-default theme. After reinstalliong everything is okay. No more erroros. I guess maintaning the old theme would have been alot of work. So, better doing a fresh start.

Best regards,
Fotoman

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.