Problem models\model.php on line 850

This forum is for issues with installing Joomla! on IIS webservers.

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.
genesis_2005
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Sat Aug 30, 2008 10:11 pm

Problem models\model.php on line 850

Postby genesis_2005 » Sat Aug 30, 2008 10:16 pm

i tried to install joomla but allways have problems whit permission, HELLLLP ME PLEASE.

I tried to install in [url deleted] but i could it

Thanks every one to help me
Last edited by humvee on Mon Sep 01, 2008 10:23 am, edited 1 time in total.
Reason: url deleted

User avatar
humvee
Joomla! Master
Joomla! Master
Posts: 14713
Joined: Wed Aug 17, 2005 10:27 pm
Location: Kent, England

Re: Problem models\model.php on line 850

Postby humvee » Mon Sep 01, 2008 10:27 am

considerably more information than just posting your hosts web address is required!
What are you trying to do
What have you done so far
What errors are you receiving
What have you done to rectify the errors?
What are your full server and software details? Apache or IIS
Transferring a site or installing from the start
Joomla! version?
anything else that might actually be useful ;)

Andy

genesis_2005
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Sat Aug 30, 2008 10:11 pm

Re: Problem models\model.php on line 850

Postby genesis_2005 » Mon Sep 01, 2008 7:47 pm

What are you trying to do
I trying to install joomla
What errors are you receiving

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

What have you done to rectify the errors?
nothing
What are your full server and software details? Apache or IIS
APache
Transferring a site or installing from the start
Intall
Joomla! version?

and i trying to install in

www.m6.net

User avatar
humvee
Joomla! Master
Joomla! Master
Posts: 14713
Joined: Wed Aug 17, 2005 10:27 pm
Location: Kent, England

Re: Problem models\model.php on line 850

Postby humvee » Mon Sep 01, 2008 10:06 pm

Well looking at your paths and the host page they appear to be a Windows/IIS server only host.
Please run the phpinfo() script from your web_root/ directory

Add the following code to a new file and save as info.php (name is unimportant call it what-you-like)

Code: Select all

<?php
phpinfo();
?>

Upload this file to your web_root/ directory and then call it from your Web browser as http://yourdomain.com/info.php .

Save the HTML output and zip it up and add that file to your forum post using the upload attachment function to the bottom left of the Post Editor screen.

Andy

genesis_2005
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Sat Aug 30, 2008 10:11 pm

Re: Problem models\model.php on line 850

Postby genesis_2005 » Tue Sep 02, 2008 1:18 am

thanks for your coperation
god bless you

i did that you told me
You do not have the required permissions to view the files attached to this post.

User avatar
humvee
Joomla! Master
Joomla! Master
Posts: 14713
Joined: Wed Aug 17, 2005 10:27 pm
Location: Kent, England

Re: Problem models\model.php on line 850

Postby humvee » Tue Sep 02, 2008 11:53 am

Yep this confirms M$ IIS 6, PHP 5.2.3, MySQL 5.0.3 nothing obviously untoward but there might possibly be an issue with PHP which had an issue at 5.2.4 which could be contained in this version. How regularly does the host update? PHP is now upto 5.2.6.

Download a fresh copy of Joomla! make sure you are not using a Windows/M$ compression manager to unzip the file on your local directory and use a non-Windows/M$ FTP Client to transfer the files to your remote server.

Just before you commence the Web Installation create a completely empty file (absolutely nothing inside it) and save it as configuration.php in the joomla_root/ directory. Using your FTP Client make sure the file permissions are set to make it writable.

Then rerun the Web Installation

See how that goes

Andy

User avatar
humvee
Joomla! Master
Joomla! Master
Posts: 14713
Joined: Wed Aug 17, 2005 10:27 pm
Location: Kent, England

Re: Problem models\model.php on line 850

Postby humvee » Tue Sep 02, 2008 11:54 am

[Mod Note] Moved from Installation Questions.

milenke
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Fri Jun 12, 2009 2:16 pm

Re: Problem models\model.php on line 850

Postby milenke » Fri Jun 12, 2009 2:30 pm

I have the same problem.
Joomla 1.5.12 is installed on a windows system with IIS 6.0, Plesk 9.2
PHP 5.2.6 and mySQL 5.0.45

At the last step of the first konfiguration I get the message:

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

The file model.php is present, writeable.

can anybody help me?

Mike

find_karl
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Fri Sep 11, 2009 3:36 am

Re: Problem models\model.php on line 850

Postby find_karl » Wed Oct 14, 2009 2:44 am

Opening model.php and looking at line 850 and the preceding code, it looks like this is an issue writing the configuration so it is most lightly a permissions issue on configuration.php. I did encounter the problem and resolved it by one of the following. Changing the security properties on the configuration.php file, the .\tmp folder, the .\installation folder and the .\templates folder to allow the Users group write access

ssk1000
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Mon Nov 30, 2009 4:20 am

Re: Problem models\model.php on line 850

Postby ssk1000 » Mon Nov 30, 2009 4:27 am

For whatever reason during my installation the configuration.php file couldn't be written (tried changing permission settings etc. before installing, didn't work) Got this same error -

Warning: file_put_contents(D:\...\html\...\configuration.php) [function.file-put-contents]: failed to open stream: Permission denied in D:\...\installation\installer\models\model.php on line 850

I have another host-installed installation of Joomla and used it to figure out how to manually fill in the configuration.php-dist file correctly (by comparing the host-installed configuration.php file.)

Anyway, it worked! Must be something weird with my host.

[BTW - I keep running into weird stuff like this. Anybody have a good host recommendation out there? For example, one that allows mail() to work without all kinds of time consuming hassle?)

User avatar
migs
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 110
Joined: Fri Dec 22, 2006 8:13 pm
Location: Olongapo City
Contact:

Re: Problem models\model.php on line 850

Postby migs » Fri Jun 04, 2010 4:31 pm

You just have to copy a blank configuration.php to web server and it will fix the problem :-)
“Everything that irritates us about others can lead us to an understanding of ourselves.”
- Carl Gustav Jung
- http://www.mikeb.info

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 16457
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ UK/ S'pore/Jakarta/ North America
Contact:

Re: Problem models\model.php on line 850

Postby leolam » Sat Jul 03, 2010 7:31 am

You need a blank configuration.php and make sure it is writable...than run the installation again.

Leo 8)
-- Joomla Professional Support Services : https://gws-desk.com --
-- Joomla Specialized Hosting Solutions: https://gws-host.com --
-- Joomla Professional Web Development & Design :www.gws-studio.com
-- Member Joomla Bug Squad --

Razgrid
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Tue Jul 06, 2010 12:03 am

Re: Problem models\model.php on line 850

Postby Razgrid » Tue Jul 06, 2010 12:08 am

I have the same problem:

Warning: file_put_contents(D:\...\...\html\...\configuration.php) [function.file-put-contents]: failed to open stream: Permission denied in D:\...\...\html\...\installation\installer\models\model.php on line 850

I've created the configuration.php in blank file and is uploaded (with all permissions) to joomla root, but the problem is not fixed.

Is ther another possibility to deal with this problem?

bcarrell
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Sun May 16, 2010 10:37 pm

Re: Problem models\model.php on line 850

Postby bcarrell » Thu Aug 12, 2010 9:41 pm

I have the same problem installing on Plesk. Hosting company hasn't gotten back to me. I've created a configuration.php file and joomla 1.5.2 loads perfectly. However, I cannot install templates or extensions.

FTP does not work with Joomla, according to Joomla install comments. Won't configure. I've tried changing IIS user permissions. Still doesn't work.

Resolved! All I needed was blank configuration.php file uploaded to server in root directory.

yokesh28
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Tue Dec 14, 2010 6:56 pm

Re: Problem models\model.php on line 850

Postby yokesh28 » Tue Dec 14, 2010 7:04 pm

i had same problem.... that have give above in post.... i tried every thing that given above but it show same error that..... i have uploaded my info.php file please help me its urgent
You do not have the required permissions to view the files attached to this post.

whyjoe
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Tue Feb 08, 2011 7:27 pm

Re: Problem models\model.php on line 850

Postby whyjoe » Tue Feb 08, 2011 8:15 pm

I think this is related to M6.Net and/or the Plesk control panel and its permissions. When you create a website with Plesk, you can't modify the permissions of the root folder.

To get Joomla to work on M6.net with plesk:
Create a blank configuration.php in the root
Using Plesk, set the permissions for ISUR to Write on configuration.php.
Run the Joomla install.
Delete the index.htm file from the root.
Delete the installation folder.

hemgoyal_1990
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Tue Dec 06, 2011 6:48 am

Re: Problem models\model.php on line 850

Postby hemgoyal_1990 » Tue Dec 06, 2011 7:16 am

I also have the same problem but am find an solution for this problem.

Follow the below instructions for solving this problem:
1). Create an Blank Configuration.php file before installing Joomla and Install Joomla.
2). after complete installing of joomla open your FTP account and find for Configuration.php-dist & Configuration.php file in joomla root folder.
3). Download these files in your local computer and open it via notepad and copy Configuration.php-dist file matter in Configuration.php file and modify site name, offline message, database type, host name, db username, db password, db name in required fields and save it.
4). upload the Configuration.php file again in joomla root folder and remove installation Directory.
5). all Done. Now Run Your website.

This is Work 100% and tested by me.

Sorry for my Poor English Sentence.

Thanking You.


Return to “Joomla! 1.5 on IIS webserver”

Who is online

Users browsing this forum: No registered users and 2 guests