After copying Aleph to the plugins directory and moving user.php to the theme directory I tried to install the plugin but got a fatal error:
Warning: main(base-classes/Aleph.php) [function.main]: failed to open stream: No such file or directory in /nfs/vsp/dds.nl/d/davied/public_html/ambtenaar20/wp-content/plugins/el-aleph/aleph.php on line 19
Fatal error: main() [function.require]: Failed opening required 'base-classes/Aleph.php' (include_path='.:/usr/local/lib/php') in /nfs/vsp/dds.nl/d/davied/public_html/ambtenaar20/wp-content/plugins/el-aleph/aleph.php on line 19
Does anyone know what went wrong?
Detective
Member
Posted 4 years ago #
Please check if you have the file Aleph.php in the folder base-classes inside ~/public_html/ambtenaar20/wp-content/plugins/el-aleph/. Maybe you didn't uncompress the file with full subdirectories.
That is odd indeed. Not all directories were copied to the server. I'll have another go.
Well, not there yet. The main plugin is installed, so is the one for photo support. However, after installing the widget plugin I get this error message in red at the top of the plugin, widget and front pages:
Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of get_class(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /nfs/vsp/dds.nl/d/davied/public_html/ambtenaar20/wp-content/plugins/el-aleph/base-classes/Widget.php on line 17
Any more grand ideas? ;-)
Detective
Member
Posted 4 years ago #
Uhmm, that's strange. Which version of PHP is installed? Anyway, please edit the file Widget.php and replace the line 17. It says:
$this->class_name = get_class(&$this);
Please remove the &:
$this->class_name = get_class($this);
That should remove the warning.
Well, it works. Now I have to figure out what it does ;-)
Thanks a lot for your help, Detective! Priceless!
Detective
Member
Posted 4 years ago #
I hope you find the plugin useful.