Error when istalling modules

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
enzo

Error when istalling modules

Post by enzo »

I get the following error message when installing modules:

Error!

Could not create a file (permissions problem?) /hsphere/local/home/******/fotobogi.com/modules/FormBuilder/templates/RenderFormTableTitleTop.tpl

I have tried several modules, all with the same error

Hope you can help me!
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm

Re: Error when istalling modules

Post by Dee »

Make sure the webserver has write permissions on the /path/to/cmsms/modules directory (needed if you install new modules with xml; to upgrade modules the webserver also needs to be able to modify the existing module files).
Please paste the complete errormessage if that doesn't solve it (it's ok to blank out part of the paths, but there's more missing here).
Greg
Power Poster
Power Poster
Posts: 598
Joined: Sun Sep 26, 2004 6:15 pm

Re: Error when istalling modules

Post by Greg »

I found that installing modules worked after commenting out the following line in method.install.php in the various module folders.

Code: Select all

if (! $this->CheckAccess()) exit;
Checking for permissions before the module is installed  ???
Greg
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Error when istalling modules

Post by calguy1000 »

That's not a standard function, so it's probably only one or two modules that have that problem.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
enzo

Re: Error when istalling modules

Post by enzo »

Hey guys

Thanks for the rapid response. After a bit of mucking about, i finally got the module installed, at least, according to the extstension page in the admin. I AM TRYING TO INSTALL THE LATEST VERSION OF THE BANNER MODULE

However, when i want to add a banner, i get the following error message:
string(81) "Smarty error: unable to read resource: "module_file_tpl:Banners;categorylist.tpl""
string(79) "Smarty error: unable to read resource: "module_file_tpl:Banners;bannerlist.tpl""
string(79) "Smarty error: unable to read resource: "module_file_tpl:Banners;adminprefs.tpl""

This goes beyond my knowledge of php or sql.

I have CHMOD'ed the entire content of the banner module folder to 777 prior to install
Can there be a problem with a connection string or maybe with a path?
Locked

Return to “CMSMS Core”