Welcome to Geeklog Monday, June 24 2019 @ 09:31 pm EDT

Geeklog Forums

Plugin installation


Al262

Anonymous
determined
Creating a new site powered by Geeklog. Installation process went well; however, when I tried to add my first plugin I encountered the following error:
Fatal error: Cannot instantiate non-existent class: ziparchive in /home/xxxxxxx/geeklog-1.7.0/system/classes/unpacker.class.php on line 191

I have tested this load multiple times on my "local" (pc) site, running Windows/WAMPP - but now that I am pushing the site for real - I get the error. Suggestions on what/where to look?

Thanks'

Status: offline

Laugh

Site Admin
Admin
Registered: 27/09/05
Posts: 1352
Looking at the code it looks like it is trying to open your plugin zip file using "PECL ZIP". I am not too familiar with this part of Geeklog so I am not sure why it is failing.

There are a couple of ways around this though. You could copy your site from your local pc (since you indicate it is working fine) to your webserver and then use the migrate feature of the install.

BTW when it this failure happening? Is it when you are installing Geeklog and the plugins that come with it or has Geeklog been installed successful and you are trying to install a plugin? (and which one?)

Tom


One of the Geeklog Core Developers.

Al262

Anonymous
The error is occurring after the successful geeklog installation. I get the error with the filemgmt_1.5.3_1.4.1.zip as well as a homegrown plugin.

Status: offline

Laugh

Site Admin
Admin
Registered: 27/09/05
Posts: 1352
Where you able to migrate the site from your pc to your web server?
One of the Geeklog Core Developers.

Al262

Anonymous
I haven't tried to migrate. I'd like to determine the cause of the failure.

Alternatively, I will try a manual install; once I find and verify the processes.

Thanks for the assistance.

Status: offline

Al262

Forum User
Junior
Registered: 19/10/10
Posts: 16
The manual install worked.

FTP'd files
inserted a row into the plugin table.

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/02
Posts: 13073
Location:Stuttgart, Germany
Quote by: Al262

The manual install worked.

FTP'd files
inserted a row into the plugin table.



Messing with the database shouldn't have been necessary. If the install via upload doesn't work then doing the manual install, i.e. unpack locally, upload to specific directories, should let you run the install from the Admin's plugin page.

And please do submit a bug report for the original issue. I had a quick glimpse at the code and I think I have an idea what the problem might be. But I'm out of town right now and may forget about it before I'm home ...

bye, Dirk

Status: offline

Al262

Forum User
Junior
Registered: 19/10/10
Posts: 16
Thanks for the feedback, issue 1209 has been filed.

All times are EDT. The time is now 09:31 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content