Pages (2):    1 2
Administrator
Administrator
fretzl   25-10-2017, 13:54
#21

I never use the command line but if I look at your code above I think you're creating a plugins folder in the zp-core folder which is not good. Correct me if I'm wrong.

Anyway, I just downloaded and installed the fork too.
It shows up in the backend.
The folder tree of your Zenphoto install should look something like this:
[list]
[]albums
[
]backup
[]cache
[
]...
[*]plugins

alt

lib-auth.diff
[]lib-auth.php
[/list]
[
]ldapLogon.php
[*]... more plugin files/folders

[]...
[
]zp-core
[*]zp-data

Administrator
Administrator
fretzl   25-10-2017, 13:59
#22

His email address is on his GitHub overview page.
https://github.com/blind-coder

Administrator
Administrator
acrylian   25-10-2017, 14:03
#23

Indeed, he lists one. However, you need to be loggedin on GitHub to see it.

Member
Member
MyAGzenphoto   25-10-2017, 14:56
#24

Hello,
Concerning my tree installation, I have exactly what you mention except that I have no album yet neither backup yet and in the plugin/alt directory, I only have lib-auth.php, not lib-auth.diff

Administrator
Administrator
fretzl   25-10-2017, 17:05
#25

You're correct. In a fresh install there is no backup folder but there should be an albums folder.

If you downloaded the plugin from here: https://github.com/blind-coder/zenLdap you'll see that there are 2 files in the alt folder.
I see now that the lib-auth.diff file is not needed.

Just a silly idea:
The plugin GitHub repository and the downloaded plugin folder are named zenLdap but the plugin itself is named ldapLogon.
Are you looking for the correct plugin name on the backend?

Member
Member
MyAGzenphoto   25-10-2017, 19:44
#26

I was looking for the plugin "ldapLogon" and I did not find it.
Is this correct ?

Administrator
Administrator
fretzl   26-10-2017, 05:42
#27

Yes, you should look for the "ldapLogon" plugin.

Member
Member
MyAGzenphoto   30-10-2017, 09:37
#28

Hello,
Thanks for your answer.
I have checked for both zenLdap and ldapLogon in the plugin list of zenphoto and none of both are in the list.
Best Regards.

MyAGzenphoto

Administrator
Administrator
acrylian   30-10-2017, 10:22
#29

Having both plugins might be the reason why you don't see any. One is a fork of the other so they both use the same functions which might cause an error. You should see something about that in the error logs I already suggested to review. Remove the older plugin and try again please. The fork one does show up fine for me.

Member
Member
MyAGzenphoto   30-10-2017, 10:47
#30

Hello,
here is a part of my log files:
{1085:Mon, 23 Oct 2017 14:26:18 GMT}

WARNING: require_once(/var/www/html/zenphoto/zp-core/../../zp-core/classes.php): failed to open stream: No such file or directory in /var/www/html/zenphoto/zp-core/lib-auth.php on line 44

require_once called from require_once (lib-auth.php [44])

from require_once (auth_zp.php [14])

from require_once (load_objectClasses.php [42])

from require_once (functions.php [33])

from require_once (admin-functions.php [8])

from require_once (admin-globals.php [15])

maybe, this can help.

Best Regards.

MyAGzenphoto

Administrator
Administrator
acrylian   30-10-2017, 10:58
#31

I looked at the newer plugin internally and it seems not be setup correctly. Line 44+ of /plugins/alt/lib-auth.php reads:
require_once(dirname(__FILE__) . '/../../zp-core/classes.php'); require_once(dirname(__FILE__) . '/../../plugins/ldapLogon.php');

It probably should be something like:
require_once(dirname(__FILE__) . '/../../zp-core/classes.php'); // root is two level above require_once(dirname(__FILE__) . '/../ldapLogon.php'); // The plugins folder is one level above the /alt folder

Or just try the actual absolute paths:
SERVERPATH . '/'. ZENFOLDER . '/classes.php
SERVERPATH . '/'. USER_PLUGINS_FOLDER . '/ldapLogon.php

(I did not test these changes)

Member
Member
MyAGzenphoto   31-10-2017, 10:41
#32

Hello,
I have tried with the actual absolute paths and I could not login I got a white page, so, now I put back the original "/plugins/alt/lib-auth.php"
This "ldapLogon" plugin is not working for me.

Best Regards.

MyAGzenphoto

Administrator
Administrator
acrylian   31-10-2017, 11:49
#33

Then try to contact its developer. Sorry, I cannot help with this plugin.

Member
Member
MyAGzenphoto   31-10-2017, 12:17
#34

OK.
I will contact the developer.
Thanks so much.

Best Regards.

MyAGzenphoto

Member
Member
MyAGzenphoto   31-10-2017, 14:12
#35

Hello,

Finally, the ldaplogon is seen by zenphoto because of the advices of the delopper. I could configure it but now I have a blank page while using admin.php and I have the following error in the /var/log/apache2/error.log file:

[Tue Oct 31 14:00:19.094032 2017] [:error] [pid 1257] [client 10.1.2.185:51979] PHP Fatal error

Allowed memory size of 134217728 bytes exhausted (tried to allocate 926577468 bytes) in /var
/www/html/zenphoto/zp-core/functions-common.php on line 136


Can you help me or shall I send this info to the developer ?
Best Regards.

MyAGzenphoto

Administrator
Administrator
acrylian   31-10-2017, 14:18
#36

Glad you got it working again. Best the instructions are update on the plugin itself, too. It would probably be useful if the issue tracker on the plugin's repo was enabled.

Since I cannot tell anyhting about that error except what it tells, best ask the plugin developer about it. Especially if it does not appear without the plugin.

Member
Member
MyAGzenphoto   31-10-2017, 14:26
#37

OK, I will let it now to the devolopper

Pages (2):    1 2
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.