ACCESS DENIED

Joomla version 1.5 is end-of-life and are no longer supported. Please use Joomla 3.x instead.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
kostas_g78
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Wed Oct 07, 2009 4:54 pm

ACCESS DENIED

Post by kostas_g78 » Wed Oct 07, 2009 5:01 pm

Hi,

I have been trying to install joomla for 3 days now and yet i can't do it.
I get this error message in the final step (#7)

"Warning: file_put_contents() failed to open stream: Permission denied in C:\Inetpub\vhosts\dihome.gr\httpdocs\libraries\joomla\utilities\compat\php50x.php on line 70"

Please help

thanks in advance!

User avatar
wlrdq
Joomla! Hero
Joomla! Hero
Posts: 2672
Joined: Thu Jul 24, 2008 12:48 pm
Location: Austin, TX
Contact:

Re: ACCESS DENIED

Post by wlrdq » Sat Oct 17, 2009 4:26 am

Do you have the correct permissions set for the folder you are trying to install Joomla into? You might try changing it to full access (777) to see if that fixes the issue.

My guess is that it is trying to write the configuration.php file and can't.

Let me know what you find.
Will Mavis - Joomla Developer
http://www.covertapps.com/jam <<< Joomla! on your Android, iPhone, iPad, and iPod Touch
If you think I can help you, PM me a link to your post and I will respond. Please don't hijack another user's thread.

ahornygeek
Joomla! Apprentice
Joomla! Apprentice
Posts: 25
Joined: Mon Nov 02, 2009 10:07 am

Re: ACCESS DENIED

Post by ahornygeek » Mon Nov 02, 2009 10:09 am

i had the same problem, but it seems that i could not modify the file permissions thru CHMOD via FTP(Filezilla). any suggestions as to why that happened?

User avatar
wlrdq
Joomla! Hero
Joomla! Hero
Posts: 2672
Joined: Thu Jul 24, 2008 12:48 pm
Location: Austin, TX
Contact:

Re: ACCESS DENIED

Post by wlrdq » Mon Nov 02, 2009 4:23 pm

Does your hosting provider have a File Manager that you can use on their site? It's possible that you can do it through there.

Another thing you can try is to get NinjaXplorer and try it through there:
http://extensions.joomla.org/extensions ... ement/4746

Your issue is probably that the owner/group for the file is not the same as your FTP user. Permissions can be kind of annoying, but once you get them setup correctly, you usually don't have to worry anymore.

Let me know if you can't get it working.
Will Mavis - Joomla Developer
http://www.covertapps.com/jam <<< Joomla! on your Android, iPhone, iPad, and iPod Touch
If you think I can help you, PM me a link to your post and I will respond. Please don't hijack another user's thread.

ahornygeek
Joomla! Apprentice
Joomla! Apprentice
Posts: 25
Joined: Mon Nov 02, 2009 10:07 am

Re: ACCESS DENIED

Post by ahornygeek » Tue Nov 03, 2009 2:03 am

thanks alot for the help i appreciate it alot.

the problem is, i have not yet been able to access the joomla backend.
reason being when i started the installation (i did the manual one, started the sql and the php correctly, setup the databases too checked and it worked), everything was fine until the last page whereby it tells me to remove the installation folder, the error comes out, and after some research with some mirror websites that i made, i figured out that most probably it could not write the configuration.php file that is in the root folder of the web server.

and yes, i have a file manager in the remote host server. i edited all the permissions and enabled it and duplicated several accounts.
however when i used filezilla to edit the permission of the php50x.php this error came thru

"Status: Set permissions of '/httpdocs/libraries/joomla/utilities/compat/php50x.php' to '777'
Command: SITE CHMOD 777 php50x.php
Response: 500 'SITE CHMOD 777 php50x.php': command not understood"


any idea why?
thank you very much in advance!

User avatar
dpacadmin
Joomla! Champion
Joomla! Champion
Posts: 6029
Joined: Sat Aug 16, 2008 1:46 pm
Location: the Bat Cave
Contact:

Re: ACCESS DENIED

Post by dpacadmin » Tue Nov 03, 2009 2:45 am

It could be an ownership issue, if FTP is not the owner of the file it may block FTP from making changes. That should mean that the server is the owner and you should be able to make the changes with the Host's File Manager. If that works then disable the FTP layer by removing the FTP info in the Global Configuration settings after you gain admin access.

User avatar
wlrdq
Joomla! Hero
Joomla! Hero
Posts: 2672
Joined: Thu Jul 24, 2008 12:48 pm
Location: Austin, TX
Contact:

Re: ACCESS DENIED

Post by wlrdq » Tue Nov 03, 2009 4:41 pm

If this is just a clean install, I would drop the database that got created the last time you went through the installation process, make sure your files/folders have the right permissions, and just go through the install process again.

If you get the same error about configuration.php, it should give you the content that should go into configuration.php. Copy that and you might be able to create it through FTP. It's not a great solution, but at least keeps you moving forward.

Let me know if I can help with anything else.
Will Mavis - Joomla Developer
http://www.covertapps.com/jam <<< Joomla! on your Android, iPhone, iPad, and iPod Touch
If you think I can help you, PM me a link to your post and I will respond. Please don't hijack another user's thread.

ahornygeek
Joomla! Apprentice
Joomla! Apprentice
Posts: 25
Joined: Mon Nov 02, 2009 10:07 am

Re: ACCESS DENIED

Post by ahornygeek » Wed Nov 04, 2009 8:58 am

okay problem problem this time something like

"file_put_contents(C:\Inetpub\vhosts\creatifmarketing.com\httpdocs\configuration.php) [function.file-put-contents]: failed to open stream: Permission denied in C:\Inetpub\vhosts\creatifmarketing.com\httpdocs\installation\installer\models\model.php on line 850"

came out.
what is happening? i tried ignoring it and removing the installation folder and i navigated to the website, something like "No configuration file found and no installation code available. Exiting..." came out.

thank you very much!



*grr bad day my life and my computer is not working out for me. >:(*

ahornygeek
Joomla! Apprentice
Joomla! Apprentice
Posts: 25
Joined: Mon Nov 02, 2009 10:07 am

Re: ACCESS DENIED

Post by ahornygeek » Wed Nov 04, 2009 10:26 am

okay guys i managed to get the site up.
what i did was grab the configuration.php from another website i managed to setup successfully, and i opened it with adobe dreamweaver.
i edited line 6
var $sitename = 'YOUR SITE NAME';
line 16 to 18
var $user = 'YOUR SQL LOGIN';
var $password = 'YOUR SQL PW';
var $db = 'YOUR DATABASE NAME';

and lastly the root folder lines 64 and 65
var $log_path = 'YOUR ROOT FOLDER/logs';
var $tmp_path = 'YOUR ROOT FOLDER/tmp';


then i uploaded it via ftp into the root folder of the website domain :D
works like magic. as a newbie i realised the power of php hiak hiak. thanks guys! i will post here if i have anymore issues :D for anyone who wants the configuration.php and could not find it anywhere i have attached it here for convenience. cheers! i zipped it!


ps: er anyway the installation said configuration.php was writable from the start, but because of the error in bold font at the top during the end of the installation i believed it skipped creating the file and i'm ended up with nothing. so thus the manual upload
You do not have the required permissions to view the files attached to this post.

User avatar
wlrdq
Joomla! Hero
Joomla! Hero
Posts: 2672
Joined: Thu Jul 24, 2008 12:48 pm
Location: Austin, TX
Contact:

Re: ACCESS DENIED

Post by wlrdq » Wed Nov 04, 2009 1:12 pm

Cool. Glad you got it working.
Will Mavis - Joomla Developer
http://www.covertapps.com/jam <<< Joomla! on your Android, iPhone, iPad, and iPod Touch
If you think I can help you, PM me a link to your post and I will respond. Please don't hijack another user's thread.

ahornygeek
Joomla! Apprentice
Joomla! Apprentice
Posts: 25
Joined: Mon Nov 02, 2009 10:07 am

Re: ACCESS DENIED

Post by ahornygeek » Thu Nov 05, 2009 2:35 am

yeap thanks alot guys! u guys rock :)


Locked

Return to “Installation 1.5”