#1 2024-07-06 06:09:39

finlayson
Member
2022-02-27
12

Error: Class "MultiView" not found

I was recently forced to reinstall Piwigo (I tried both version 14.3.0 and 14.4.0; with PHP 8.3 and mysql81-server, on Apache 2.4, on FreeBSD 14.1).  It used to work perfectly, but I now get an error "Class "MultiView" not found in /usr/local/www/apache24/data/piwigo/plugins/AdminTools/main.inc.php:23".

My stack trace is:
#0 /usr/local/www/apache24/data/piwigo/include/functions_plugins.inc.php(350): include_once()
#1 /usr/local/www/apache24/data/piwigo/include/functions_plugins.inc.php(441): load_plugin()
#2 /usr/local/www/apache24/data/piwigo/include/common.inc.php(151): load_plugins()
#3 /usr/local/www/apache24/data/piwigo/index.php(11): include_once('...')
#4 {main} thrown in /usr/local/www/apache24/data/piwigo/plugins/AdminTools/main.inc.php on line 23

Piwigo URL: https://photos.rossfinlayson.com/

Is there something obvious that I'm missing (like a missing library)?

Offline

 

#2 2024-07-06 07:17:38

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7329

Re: Error: Class "MultiView" not found

Hi :-)

Desactivate plugin admintools on database


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#3 2024-07-06 07:43:54

finlayson
Member
2022-02-27
12

Re: Error: Class "MultiView" not found

But how do I do this "Deactivate plugin admintools on database" if I don't have web access?  Are you asking me to use a command-line database client (like "mysql") and somehow figure out how to do this manually??

It would be better to know exactly why my installation has broken - i.e., where "Class MultiView" is supposed to be defined, and install/fix/replace this in the PHP scripts.

Offline

 

#4 2024-07-06 07:50:36

finlayson
Member
2022-02-27
12

Re: Error: Class "MultiView" not found

OK, I have at least partially figured out the problem; the file permissions on the "include" files were wrong.  (It would have been nice if PHP had thrown an error here, rather than silently failing to include the file.)

I have the site working a lot more now...

Offline

 

#5 2025-12-06 18:47:16

fablepd
Member
2020-10-21
6

Re: Error: Class "MultiView" not found

After "manual update" from piwigo 16.0 to 16.1 failed i Tried a total reinstall following the instructions but I get the same issue :

Fatal error: Uncaught Error: Class "MultiView" not found in /web/htdocs/www.fable.it/home/piwigo/plugins/AdminTools/main.inc.php:23 Stack trace

How can I solve it ? Thanks.

Offline

 

#6 2025-12-07 10:26:20

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
14045

Re: Error: Class "MultiView" not found

finlayson wrote:

OK, I have at least partially figured out the problem; the file permissions on the "include" files were wrong.  (It would have been nice if PHP had thrown an error here, rather than silently failing to include the file.)

Can you be more specific about the file permissions? How were they before you changed them? What are they now you changed them?

Offline

 

#7 2025-12-07 10:27:04

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
14045

Re: Error: Class "MultiView" not found

fablepd wrote:

After "manual update" from piwigo 16.0 to 16.1 failed i Tried a total reinstall following the instructions but I get the same issue :

Fatal error: Uncaught Error: Class "MultiView" not found in /web/htdocs/www.fable.it/home/piwigo/plugins/AdminTools/main.inc.php:23 Stack trace

How can I solve it ? Thanks.

Did you check file permissions as suggested by finlayson?

Offline

 

#8 2025-12-07 10:33:31

fablepd
Member
2020-10-21
6

Re: Error: Class "MultiView" not found

Thanks. I put 755 permissions on all files, but nothing changed :/

Offline

 

#9 2025-12-07 18:36:11

erAck
Only trying to help
2015-09-06
2234

Re: Error: Class "MultiView" not found

Make sure traversal permissions on directories are set as well, i.e. the 'x' bit on the AdminTools/include directory. (and 755 on files is unnecessary, they don't need the execute permission bit). Whether 755 was actually the right decision on your system is also unknown, it depends on if the user the web server runs as also owns the files, and likely the 'other' users don't need access at all. If so, then this

Code:

chmod -R a-x,u=rwX,g=rX,o= piwigo/
chmod ug+x piwigo/tools/*.{pl,sh}

sets 750 on directories and 640 on files (except piwigo/tools/*.{pl,sh} where also the x bit is set for 750). Replace piwigo/ with the actual directory of your Piwigo installation.

See also [Forum, post 180666 by erAck in topic 28678] Http Error 500.


Running Piwigo at https://erack.net/gallery/

Offline

 

#10 2025-12-08 17:12:05

fablepd
Member
2020-10-21
6

Re: Error: Class "MultiView" not found

Thanks but my piwigo is not  on a self-host server so I must use an FTP application (Transmit for Mac) in my case, can't do chmod ....

Now the last error is  : Fatal error: Uncaught --> Smarty: Unable to load 'file:menubar.tpl' <-- thrown in /web/htdocs/www.fable.it/home/piwigo/include/smarty/src/Template.php on line 159

what happened with this manual update... I alwyas did the automatic update... why wasn't available this time for upgrading from 16.0 to 16.1 ?

Last edited by fablepd (2025-12-08 17:17:52)

Offline

 

Board footer

Powered by FluxBB

github linkedin newsletter Piwigo.org © 2002-2026 · Contact