PDA

View Full Version : Call-time pass-by-reference and image issues


anna
03-01-2006, 04:34 PM
I have a problem I updated photoplog from 1.0.6 to 1.0.9 and I get this error and no images are displaying

Content visible to registered users only.

Morgan
03-01-2006, 05:00 PM
What version of PHP are you running? Do you have access to the php.ini file? For the images, check the PhotoPlog 'Relative Links' and 'Absolute Links' settings.

anna
03-01-2006, 05:07 PM
I use PHP Version 4.4.1 and yes I do have access to php.ini file.

What am i soppused to look for in the 'Relative Links' and 'Absolute Links' settings to fix the images issue?

Morgan
03-01-2006, 05:32 PM
Oh good, in the php.ini file set the following and restart:
Content visible to registered users only.
For images, there is an example in this (http://www.photoplog.com/forum/showthread.php?t=101) thread. Since Lite v.1.0.7, people need to set the relative link bits that should be made into absolute links, as the old function that automatically did this was not without issue.

anna
03-01-2006, 05:49 PM
Great it's done and everything works well after I turned the 'allow_call_time_pass_reference = On' Thank you for your time.

Morgan
03-02-2006, 12:21 AM
Update: you can now go turn the following off.
Content visible to registered users only.
Instead make the following two file edits.

In the PhotoPlog functions.php file find:
Content visible to registered users only.
And replace with the following:
Content visible to registered users only.
In the PhotoPlog functions.php file find:
Content visible to registered users only.
And replace with the following:
Content visible to registered users only.

Each edit removes the sneaky little ampersand. ;) :)

anna
03-05-2006, 02:14 PM
Ok I will try that. I already updated to 2.0.0, am I still ok to make these changes?

Tefra
03-05-2006, 02:23 PM
Content visible to registered users only.
i think v2.0.0 already has these changes

Morgan
03-05-2006, 02:54 PM
Yep, Lite v.2.0.0 already has these changes, so just ignore this thread. ;)

anna
03-07-2006, 01:45 AM
ok thank you :)