HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


[Solved!] Install error

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#70036 (In Topic #14838)
Avatar

Community saint

Hi guys!

I've been trying to install 7.01 on my local Linux server for a few days now.

I'm getting this error on step 5 of a "quick install": ftp_put(): Prohibited file name: adminzone/pages/.htaccess. I've searched the forum and found nothing that helps me. Any help or suggestions for this? I've noticed both the adminzone and the pages folders are set to 0755 and any attempt to change this to 0777 is nullified and reset back to 0755.

When I attempt a manual install, I get the "space full or 0 file size error" while running the setup wizard. Space is definitely not full. What file does it think is 0 length so I can verify that?

Also on a manual install after running the fixperms.sh script, it seems permissions are still not set as I need to keep changing different folder's permissions during the wizard.

A frustrated newbie…O_o


Last edit: by sholzy

Steve
Back to the top
 
Posted
Rating:
#70042
Avatar

Community saint

What linux distro are you using? I had similar problems with Mint (new user of it).

Try opening the terminal and entering

sudo chmod -R 777 /var/www

Not ideal as it is not secure but if it is just on your local computer for your own development and testing it should be fine, worked for me.
Back to the top
 
Posted
Rating:
#70052
Avatar

Hi,

FTP…

Not seen this before, but similar problem discussed here: http://www.webhostingtalk.com/showthread.php?t=555937

Manual install:
Is that the exact error?

fixperms.sh:
The Setup Wizard needs complete access to write everything (for removing addons, and making a theme), which is different from the file permission setting ocPortal requires generally to save stuff into specific places. This is why it pops up asking for FTP access, because it wants to do it via FTP, using the credentials of the actual file owner. It's not good security to assign 666/777 access to everything so that's why we don't recommend it and why fixperms.sh doesn't do it. The ideal situation is a server with SuExec – thas is, where PHP runs as the same user that owns the file rather than a user called 'apache' or 'nobody'.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#70094
Avatar

Community saint

Brian Hay said

What linux distro are you using? I had similar problems with Mint (new user of it).

Try opening the terminal and entering

sudo chmod -R 777 /var/www

Not ideal as it is not secure but if it is just on your local computer for your own development and testing it should be fine, worked for me.

I had tried this prior to my original post. It did not help any.

Steve
Back to the top
 
Posted
Rating:
#70095
Avatar

Community saint

Chris Graham said

Hi,

FTP…

Not seen this before, but similar problem discussed here: http://www.webhostingtalk.com/showthread.php?t=555937

Manual install:
Is that the exact error?

fixperms.sh:
The Setup Wizard needs complete access to write everything (for removing addons, and making a theme), which is different from the file permission setting ocPortal requires generally to save stuff into specific places. This is why it pops up asking for FTP access, because it wants to do it via FTP, using the credentials of the actual file owner. It's not good security to assign 666/777 access to everything so that's why we don't recommend it and why fixperms.sh doesn't do it. The ideal situation is a server with SuExec – thas is, where PHP runs as the same user that owns the file rather than a user called 'apache' or 'nobody'.

Read through the link you gave. I am running pure-ftpd and learned my config was still set to anonymous. There is a command that need to be run after configuring the ftpd and also it needs to run in stand-alone mode. Once I pulled out the remaining hair on my head trying to get either vsftp or pure-ftpd working I finally got pure-tfpd running properly and was able to install either the FTP way or the manual way without any errors.

As for the error on the manual install, it was not the exact wording but I have found that error listed in the error help section http://ocportal.com/forum/topicview/misc/deploying/error_messages_and/could_not_save_are_you_2.htm.

Anyway… my install is working, and I now can start developing a new theme for the install on a hosted server.

Without that link, I think I would have moved on to another CMS. The thing that has my interest is the ability to make ocPortal not look like a themed CMS. :thumbs:

Thanks everyone for their help!

Steve

Steve
Back to the top
 
Posted
Rating:
#70096
Avatar

Community saint

Rite on Steve!

Thanks for not only sharing that you got it figured out but also how.

Welcome to the community!
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: