GrumbleDook Posted May 19, 2008 Posted May 19, 2008 An interesting one here that I thought I would do a qucik check to see if anyone can see what I am doing wrong. After uploadign the install files (via ftp), creating the DB and the DB user I run the setup. It all looks as if it is happy but on the final page I get the following error. Warning: file_put_contents() failed to open stream: Permission denied in F:\inetpub\vhosts\http://www.lodgepark.northants.sch.uk\httpdocs\libraries\joomla\utilities\compat\php50x.php on line 66 I have tried the exact same files on 2 other hosts (one in school and one outside) with no problems. I am off to look at what line 66 is actually trying to do but just thought I'd ask first.
rush_tech Posted May 19, 2008 Posted May 19, 2008 An interesting one here that I thought I would do a qucik check to see if anyone can see what I am doing wrong. After uploadign the install files (via ftp), creating the DB and the DB user I run the setup. It all looks as if it is happy but on the final page I get the following error. I have tried the exact same files on 2 other hosts (one in school and one outside) with no problems. I am off to look at what line 66 is actually trying to do but just thought I'd ask first. The error I had when I first tried it was a little longer than yours but I fixed it my creating a blank configuration.php file in the root of the site. Started install again no error on the last page.
edie209 Posted May 19, 2008 Posted May 19, 2008 I had the smae problem this weekend while looking at Joomla I too created a a blank configuration.php and made sure it was writable and all went fine too
GrumbleDook Posted May 19, 2008 Author Posted May 19, 2008 Created the blank configuration.php file and then I get this Warning: file_put_contents(F:\inetpub\vhosts\http://www.edugeek.net/forums/edugeek-joomla-1-5-package/www.lodgepark.northants.sch.uk\httpdocs\configuration.php) [function.file-put-contents]: failed to open stream: Permission denied in F:\inetpub\vhosts\http://www.edugeek.net/forums/edugeek-joomla-1-5-package/www.lodgepark.northants.sch.uk\httpdocs\installation\installer\models\model.php on line 856 I know it is permissions ... if it wasn't for the fact that I hate fiddling with hosted web server permissions I would allow all then go back later to harden it ...
alonebfg Posted May 28, 2008 Posted May 28, 2008 ok try checking you permissions this is a joomla 1.5 permissions sheet I hope this helps.
GrumbleDook Posted May 28, 2008 Author Posted May 28, 2008 Jonathon over at Synetrix has been fantastic. He has done the chunk of the work of digging out what permissions are required and that permissions sheet would have been fantastic 3 days ago :-) We nearly have a running system. I just need to put things on it over the weekend and then get the DNS changed around.
alonebfg Posted May 28, 2008 Posted May 28, 2008 yea sorry about that been on holiday no mobile phone reception not wireless or any sort of internet only phones are the old stile payphones. so it has been bliss and going back there for a couple more days on Thursday so sorry for the delay.
GrumbleDook Posted May 28, 2008 Author Posted May 28, 2008 No worries ... not going to do anything with it until the weekend. Apparently I am busy the next few days.
sparkeh Posted July 4, 2008 Posted July 4, 2008 (edited) Warning: file_put_contents(F:\inetpub\vhosts\http://www.edugeek.net/forums/edugeek-joomla-1-5-package/edugee...figuration.php) [function.file-put-contents]: failed to open stream: Permission denied in F:\inetpub\vhosts\http://www.edugeek.net/forums/edugeek-joomla-1-5-package/edugee...dels\model.php on line 856 I am getting this exact error. I believe that the EMBC webservers don't understand CHMOD so I can't just do a CHMOD 777. I am looking at the permissions in Plesk, but don't know which user I have to alter the permissions for. AFAIK you can't just say 'everyone' has read/write access. Can anyone tell me 'who' needs read/write access for the installation. TIA Edited July 4, 2008 by sparkeh shocking grammer
sparkeh Posted July 4, 2008 Posted July 4, 2008 the ISUR_(username) anon access account Thanks for the reply. Sorry still bit confused. I have one account called "Plesk IIS User ISUR_(username)". Is this the anon access account? Reason I am confused is the anon bit, it has our username on it, so.... Sorry, feel like I am being thick
GrumbleDook Posted July 4, 2008 Author Posted July 4, 2008 The Guys working on this for me responded with the following. Currently, I’ve got the necessary permissions as: administrator/backups/ Writeable administrator/components/ Writeable administrator/modules/ Writeable administrator/templates/ Writeable components/ Writeable images/ Writeable images/banners/ Writeable images/stories/ Writeable language/ Writeable media/ Writeable modules/ Writeable * this fixed the - Warning: fopen(F:\inetpub\vhosts\http://www.lodgepark.northants.sch.uk\httpdocs\modules\mod_jsn_imageshow_pro\jsn_imageshow_pro\xmldata74.xml) [function.fopen]: failed to open stream: Permission denied in F:\inetpub\vhosts\http://www.lodgepark.northants.sch.uk\httpdocs\modules\mod_jsn_imageshow_pro\mod_jsn_imageshow_pro.php on line 143 templates/ The fix prescribed by some forums is to just grant full access until everything is in place, then restrict afterwards. If this is something you’d rather do then that’s easy enough. HTH 1
sparkeh Posted July 4, 2008 Posted July 4, 2008 Thanks Tony, The issue is that when you change the permissions in Plesk, you can only give permissions on a user by user basis. So I dont think I can say 'everyone have read/write access' in one go. So I wondered if anyone knew which user is accessing the files/folders when you run the install so I knew which user to alter the permissions for? Am I making sense?
GrumbleDook Posted July 4, 2008 Author Posted July 4, 2008 Yeah ... I know what you mean. The helpdesk guys actually made the changes for me in the end, but it was a one time change that was needed.
sparkeh Posted July 4, 2008 Posted July 4, 2008 Thanks guys, I am sorted now. I now know folders and the user that need to be altered. Phew!
portseven Posted March 23, 2010 Posted March 23, 2010 All Trying to get a test Joomla installation going on my webspace. I have dropped the files on the website and put them in a subdirectory of the httpdocs folder Pointing at the new URL am getting an 'Internal Server Error' looking at the server log files doesn't yeild anything usefull. Anyone got a clue what this could be? If this was linux I would just do a tail -f /var/log/apache2/default.log
moobsuk Posted March 24, 2010 Posted March 24, 2010 I have installed Joomla several times, can you post a screenshot of the error?
portseven Posted March 24, 2010 Posted March 24, 2010 Doesn't give much away I am afraid Anyway here it is
moobsuk Posted March 24, 2010 Posted March 24, 2010 (edited) Ok, need a bit more info, is it a local server that's hosting the joomla DB? or do you have your hosting outsourced ? Also one quick thing to check, go find the file htaccess.txt or .htaccess file open the file to edit, and look for this: # RewriteBase / You must remove the # so it looks like this below: RewriteBase / Reload the page and everything should be fine ! if not let me know Edited March 24, 2010 by moobsuk
portseven Posted March 24, 2010 Posted March 24, 2010 So it's hosted on Synetrix's servers, some sort of windows hosted platform, probably IIS, though could be Apache or something else... BTW, uploaded the same Joomla Package to my own server, which is Apache2 on Linux with MySQL. Worked fine. Did the change you mentioned, getting same result.
moobsuk Posted March 25, 2010 Posted March 25, 2010 (edited) Morning, Can you check that your webserver meets the follwing required reqs? PHP 4.3.10 MySQL 3.23.x or above Apache 1.3 or above Might also be worth your time to go get one of these, apache friends - xampp So you can test functionality on your local PC rather than having to upload files etc to your webserver. Most of the time I use this method before I push one live. Edited March 25, 2010 by moobsuk
portseven Posted March 28, 2010 Posted March 28, 2010 It's the standard EMBC web hosting package, so has PHP, MySQL though not sure if the web server is IIS or Apache. I have tested the Joomla code myself on my own web host (LAMP) and know that it works. I will probably use that as dev environment anyway. Though I want to host the pre-prod environment on the EMBC space to make it mirror production, then promote the changes to production once I am happy with them. Thats if I can get it working on the EMBC hosting environment in the first place!
mossj Posted April 4, 2010 Posted April 4, 2010 If you have a local dev enviroment working you could try manually transfering it across... It's a bit of hassle, but helps give an understnaidng of joomla workings... 1) copy the databases over (I use navicat for this, but phpmyadmin will work for small databases) 2) upload all the files, then open up configuration.php, and edit the values as you see fit. It might still not work (or might work untill you hit another problem), but worth a try...
portseven Posted April 12, 2010 Posted April 12, 2010 Quick update for everyone Managed to get it working! Placed a call with helpdesk and they did something and I started getting PHP error messages moaning about missing files instead of generic server ones. So I uploaded a fresh install of the joomla package to a new directory and it worked! Happy now, just need to get it bashed into shape.
blackcat Posted April 14, 2010 Posted April 14, 2010 I've got a similar problem to that above. I've uploaded the package and created the database. I then pointed my browser at the install.php file and I get an access denied message, which I assume is a permissions problem. It works OK on my WAMP development setup and I've setup up these sites before on APACHE. It appears that LGFL use IIS on which I'm poking and hoping using a PLESK control panel. I can see how to change permissions folder by folder, but not sure which user in the list to select or if there is a simpler way. Sorry for being so thick.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now