k0a1a / hotglue2

HOTGLUE is a Content Manipulation System which allows to construct websites directly in a web-browser.
http://hotglue.me/demo
GNU General Public License v3.0
275 stars 38 forks source link

cant find module glue #12

Closed schwittlick closed 6 years ago

schwittlick commented 6 years ago

hey there,

this is probably easy, so hopefully you have a short tip for me why i am running into this error on my fresh install

2017-10-31 14:55:04    XX.XX.XX.XX  12447   error   modules: cannot find required module glue, make sure it is installed in the program directory

thanks already, this looks interesting. cant wait to check it out a bit myself.

yours, marcel

dereckson commented 6 years ago

The error is thrown by load_modules() in modules.inc.php

It means the working directory is NOT the hotglue2 directory, ie it's not the directory where you've module_glue.inc.php.

How do you configure your application? ie:

  1. do you embed Hotglue in another app? do you use it directly?
  2. with Apache? with nginx?
  3. what's your server/VirtualHost block configuration?

For your assessment, it's as easy as fixing the working directory to match the hotglue2 directory, which could be damned complicated in some scenarii.

schwittlick commented 6 years ago

hmm, i wonder why.. but to answer your questions:

  1. i am only using hotglue, directly.
  2. with apache2
  3. while trying to figure this out, i actually came across the problem. the ownership of the folder where hotglue was contained in was skewed.

thanks a lot \o/

dereckson commented 6 years ago

Ah yes, to include the file, it needs two permissions:

If not, it can't include the file.

k0a1a commented 6 years ago

glad to see the issue being resolved, tnx @dereckson for your input