Paying project: Modules installation problem

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm
Location: the Netherlands

Re: Paying project: Modules installation problem

Post by Dee »

Most hosting companies will disable PHP safe mode when it's requested.

Regards,
D
Signex

Re: Paying project: Modules installation problem

Post by Signex »

safe mode sucks, but works with cmsms just need allot chmodding everytime you change something, i`ve set up cmsms website with safe mode on, but its the extra hardened php plug-in thats causing the problems.
slloyd
Forum Members
Forum Members
Posts: 195
Joined: Mon Apr 24, 2006 9:09 pm

Re: Paying project: Modules installation problem [Help!]

Post by slloyd »

Signex, can you help me? I've tried a million times to install a module and keep getting the same permission error. See below. This is trying to install through the cms on the Modules page.

/var/www/vhosts/preschoolrock.com/subdomains/admin/httpdocs/modules/FrontEndUsers/UserManipulator.class.php

As you can see, I've tried installing the Front End User module (1.1.1). I've tried several other modules, too. Nothing works. I get the same permissions error. I've already upgraded the cms to 1.0.4.

I've tried FTP and direct upload into the Modules folder. It works, but it doesnt' show in the Modules page on the cms.

I've tried changing the permissions of the Module folder, Module Images folder, Subdomains folder, HTTP folder...the entire path to the Modules folder.

I'm completely frustrated with this and ready to throw in the towel because no matter how many times I post with this problem, no one seems to be able to know why it's not working. Can you help? Please!?!?!
RazorMedia

Re: Paying project: Modules installation problem

Post by RazorMedia »

I solved the problem by letting the host set ini_set() to OFF.
slloyd
Forum Members
Forum Members
Posts: 195
Joined: Mon Apr 24, 2006 9:09 pm

Re: Paying project: Modules installation problem

Post by slloyd »

I have absolutely no idea what you're referring to. ???
RazorMedia

Re: Paying project: Modules installation problem

Post by RazorMedia »

I just know that it´s an setting that only the host of the server can do (if you don´t run your own server ofcourse).

Just tell your host you want to set "ini_set" to OFF.
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm
Location: the Netherlands

Re: Paying project: Modules installation problem

Post by Dee »

RazorMedia wrote: Just tell your host you want to set "ini_set" to OFF.
I think they wouldn't know what to turn off.

AFAIK ini_set is only a PHP function that can be used to set values of PHP's configuration options.
If your host allows this you can use it to change ini settings (like you can do in a .htaccess file - also: when the server is configured to allow this).

When your hosting company doesn't allow overiding ini settings through ini_set() or a .htaccess file, you'll have to ask them to changes settings you want to be changed.

@RazorMedia: I think safe_mode was disabled in your case.
@ssloyd: use phpinfo() to determine your server ini settings (either by calling the function in a small php script, or by creating a UDT). If safe_mode is on, request your hosting company to turn it off

Regards,
D
slloyd
Forum Members
Forum Members
Posts: 195
Joined: Mon Apr 24, 2006 9:09 pm

Re: Paying project: Modules installation problem

Post by slloyd »

I can turn the safe mode on/off in PHP for the main domain. I tried that and it still didn't work. I think that's what you're saying to do.

What I did then is I tried uploading a module to a site that was fully upgraded to the most current version (1.0.4) and it made the Modules page white, after I clicked Send to upload it. I hit the Back button in my browser and then it took me to the main screen of the cms and it was all screwed up like it lost its formatting. The background was white with the text all in one column.

I can FTP it, I can install it through Plesk to the server, but I can't upload it or access it in anyway through the cms.

I'm so frustrated at this point to could pull my hair out. I desperately need to use the login modules to password protect one of my sites and I can't get it to work!!!
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm
Location: the Netherlands

Re: Paying project: Modules installation problem

Post by Dee »

@slloyd: the problems you're describing here (totally white page, unformatted admin) look more like a memory_limit problem than permission issues.
slloyd
Forum Members
Forum Members
Posts: 195
Joined: Mon Apr 24, 2006 9:09 pm

Re: Paying project: Modules installation problem

Post by slloyd »

Memory limit? You've lost me again. I have a ton of space - ton - on the server. I have a VPS with a very small fraction being used.

I'm not sure what you mean. Can you please explain? What is the solution?
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm
Location: the Netherlands

Re: Paying project: Modules installation problem

Post by Dee »

There is a php.ini directive called memory_limit.
The default is 8M which is not enough in most cases - PHP runs out of memory then (in which case you should be able to find errors in your apache/php error log). The solution is to raise it.

You can use phpinfo() to check the value.

Do a forum (advanced) search on memory_limit (by user Dee if you want) to find out more.

Regards,
D
Last edited by Anonymous on Thu Feb 22, 2007 3:43 am, edited 1 time in total.
slloyd
Forum Members
Forum Members
Posts: 195
Joined: Mon Apr 24, 2006 9:09 pm

Re: Paying project: Modules installation problem

Post by slloyd »

I didn't get that memory error that was discussed in those other threads.

Also, I tried it again on another site. I upgraded to 1.0.4, then went to Modules and tried to upload the most recent Front End Users module. I got the permissions error, so I unchecked the safe mode box in PHP. Then I went back to the cms and tried to upload the module again. This time (same as before) the screen went white. AGain, I used the Back button in the browser and it took me to the main page of the cms, the screen was white with unformatted links with all the text in one column.

The weirdest thing of all though is it "fixes" itself when I refresh a few minutes later. But it's still not installed.

What am I doing wrong? I'm so frustrated!!!
slloyd
Forum Members
Forum Members
Posts: 195
Joined: Mon Apr 24, 2006 9:09 pm

Re: Paying project: Modules installation problem

Post by slloyd »

I unchecked the safe mode box for PHP and tried to upload the Chat module and now I'm getting permissions errors again. I've had it. I'm never going to get this to work. I'm going to have to look for another cms, unfortunately.
RazorMedia

Re: Paying project: Modules installation problem

Post by RazorMedia »

The weirdest thing of all though is it "fixes" itself when I refresh a few minutes later. But it's still not installed.
I had the same problem when running on a FreeBSD server. I upgraded to the latest version and it was solved.
slloyd
Forum Members
Forum Members
Posts: 195
Joined: Mon Apr 24, 2006 9:09 pm

Re: Paying project: Modules installation problem

Post by slloyd »

Upgraded to the newest version of cmsms? I'm already upgraded to the newest version -- 1.0.4. Or do you mean something else?

Well, it's back to giving me a permissions error again, even with the PHP safe mode OFF.
Locked

Return to “Modules/Add-Ons”