Member
Member
wearwolfie   2014-08-18, 20:38
#1

Hi,
After being asked to rerun setup to cure loss of my site I had to download the latest version of ZenPhoto to get the zp-core and zp-data folders to enable me to run setupo without errors.

The site now works to a point if i leave deprecated-errors plugin enabled and everything unchecked within it. I do still get a fatal error at the bottom of my page as follows;

Fatal error: Call to undefined function printFavoritesURL() in /mounted-storage/home142/sub005/sc62105-HHGW/www/wearwolfie/zp-core/zp-extensions/favoritesHandler/deprecated-functions.php on line 10

and can no longer access the admin/login options. I am running zenpages not just the photogallery.

Any help greatfully received!
Thanks to all.

Member
Member
wearwolfie   2014-08-18, 21:16
#2

And now if I try to reinstall ZP the plugins fail to load and after two rows of red crosses built on the page I get the "you can now administer your site" message at the bottom of the notification - when I click the link it fails to load the admin page...! I am stuck, no admin, no nothing. Re-installing doesn't work.

Member
Member
sbillard   2014-08-18, 21:59
#3

printFavoritesURL: Most likely you do not have the favoritesHandler plugin enabled. But of course your theme really should be able to deal with it being present or not. (You have not told us the theme you are using.)

If you click on one of the red crosses you may get more details on what is failing. Beyond that we will need to know what errors have been logged both in your debug log but more important in your server's error logs.

Member
Member
wearwolfie   2014-08-19, 07:02
#4

Thanks for your reply -
I was using zpBootstrap as the them when the problems ocurred. I did a reinstall and unchecked all the deprecated-functions plugin options to solve the error messages that were appearing on the pages. This worked fine but there were errors using the search or whenever it tried to display virtual albums. I changed the theme to the default theme and still got errors. I tried another reinstall but thats when I had the errors on the plugins installation part of the setup process. The site is currently set on the default theme and I cant access the admin anymore.

my debug log currently reads as follows;

{23879:Mon, 18 Aug 2014 21:47:01 GMT} Zenphoto v1.4.6[bbddab76753e1d753a54ead4eb74b41d7d46cf73]
NOTICE: session_start(): ps_files_cleanup_dir: opendir(/shared/sessions) failed: Permission denied (13) in /mounted-storage/home142/sub005/sc62105-HHGW/www/mysitename/zp-core/functions-basic.php on line 1557
session_start called from zp_session_start (functions-basic.php [1557])
from require_once (admin-globals.php [14])
from setup_pluginOptions.php [11]

I am still trying to work out how to get my server error log details....
I am unable to access the admin for my ZenPhoto install. If I go to https://www.mysitename.com/zp-core/admin.php it just tells me site is unavailable.

Mark

Administrator
Administrator
acrylian   2014-08-19, 09:00
#5

According to your NOTICE you got a permissions error on a server directory. Looks to me as if that is outside of Zenphoto ((/shared/sessions) and a server problem. Maybe contact your host about that when you ask for the server error logs.

Member
Member
wearwolfie   2014-08-19, 09:18
#6

Thanks Acrylian.
Whenever I try and do a fresh install, within minutes of the attempts I see a .mutex folder created in zp-data folder - it could be a trojan/virus problem?
Cheers
Mark

Administrator
Administrator
acrylian   2014-08-19, 10:15
#7

No that is correct and done by Zenphoto.

Member
Member
christianbobak   2014-09-02, 15:32
#8

I am getting errors too, as well as other issues since installing the latest version. One issue I would like to rectify immediately is the fact that people are now able to download my photos by right-clicking, even though I had disabled that years ago. I still have "Disable hotlining" checked but I can't find the other security feature which disables the ability to right-click and save.

Also, whenever I try to navigate to another tab in the Admin section, it shows me this pop-up:

Confirm navigation

You have unsaved changes

Are you sure you want to leave this page?

Leave this page Stay on this page

even though I made no changes at all.

Member
Member
christianbobak   2014-09-02, 15:43
#9

The HTML toolbar is now missing as well. I am no longer able to post live links in the album description

Administrator
Administrator
acrylian   2014-09-02, 16:44
#10

[i]I am getting errors too, as well as other issues since installing the latest version. [/i]
What errors or and if sure not just warnings? That is a difference.

[i] I still have "Disable hotlining" checked but I can't find the other security feature which disables the ability to right-click and save.[/i]
There is no way to disable "right click and save" at all. Your theme might not be correctly setup. You have not told which theme you are using.

Which html toolbar you are referring to the editor on the backend? that is a plugin, enabled tinymce4 and you have it back. It should be enabled by default actually.

Member
Member
christianbobak   2014-09-02, 22:29
#11

Using the original theme (default)

In Overview section it reads: "“albumedit” Cross Site Request Forgery blocked." fr some reason, I'm signed out on my whole site except when I'm in Admin.

On home page of my site: "Fatal error: Call to undefined function printFavoritesURL() in /home3/chris/public_html/christianbobakca/zp-core/zp-extensions/favoritesHandler/deprecated-functions.php on line 10"

There was a way to disable right-click and save using a code I embedded, but the code seems to have disappeared because I can now right-click and save.

I enabled tinyMCE4, but it did not return the html toolbar.

Also, the formatting is screwed up now. My photos are larger than the area in which they are supposed to fit. I tried resizing the photos in admin, but nothing changed.

Member
Member
christianbobak   2014-09-02, 22:50
#12

My PHP was upgraded to 5.4.29 but my friend's was not. I'm having issues, he is not, therefore, signs point to an issue with the theme upgrade

Administrator
Administrator
fretzl   2014-09-03, 06:15
#13

[i]In Overview section it reads: "“albumedit” Cross Site Request Forgery blocked." fr some reason, I'm signed out on my whole site except when I'm in Admin.[/i]
Sometimes happens to me too. Maybe you were administrating in multiple browser tabs at the same time. Use just one browser tab or restart your browser.

[i]On home page of my site: "Fatal error: Call to undefined function printFavoritesURL() in /home3/chris/public_html/christianbobakca/zp-core/zp-extensions/favoritesHandler/deprecated-functions.php on line 10"[/i]
Activate the favoritesHandler plugin.

[i]There was a way to disable right-click and save using a code I embedded, but the code seems to have disappeared because I can now right-click and save.[/i]
I can only guess that you did have a slightly modified default theme. With some extra JavaScript to disable [i]right-click[/i]
It looks like you also upgraded the themes folder which means that the default theme has been replaced by the new basic theme. That would explain the loss of your [i]right-click[/i] function and other settings.

[i]I enabled tinyMCE4, but it did not return the html toolbar.[/i]
Look into the tinymce4 options and check if the
[i]Text editor configuration - Zenphoto[/i] is not set to [i]disabled[/i]

And also refresh the database.
Admin => Overview => Refresh the Database (button).

Administrator
Administrator
acrylian   2014-09-03, 07:32
#14

Zenphoto runs fine on PHP 5.4 and I actually develop even on 5.5. That will not be the issue but of course it can always be a server config issue.

Zenphoto had never a way to disable right click. The only thing we have a is a basic protection for the full image but that will not disable any right click on images already shown (and therefore alreaddy download to the browser cache). We have even a long article on the user guide why disabling right clicks is useless and bad practice:
http://www.zenphoto.org/news/site-protection#disabling-the-right-click-button

I think Fretzl may be right that you missed the theme renaming and therefore didn't upgrade your theme:
http://www.zenphoto.org/news/zenphoto-1.4.6

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