Object not found (Win7) 1.7.7 [SOLVED]

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Object not found (Win7) 1.7.7 [SOLVED]

Postby coty » 08. November 2011 23:31

I recently decided to try to learn php, so I downloaded everything I needed. After installing xampp, I went into the htdocs folder and made a new txt file and saved it as a .php........ I got a object not found error in my browser.

Then I thought maybe it was because it was a text file. I then made the same file in eclipse I tried to use the run option in eclipse got the same error.

I would have posted screen shots except I'm not really sure. I was kind of hoping someone who had an instant messenger of some sort would be so kind as to help with this

Thanks
coty
 
Posts: 4
Joined: 08. November 2011 23:19
Operating System: win 7 home premium

Re: Object not found

Postby coty » 08. November 2011 23:47

Another bit of information is that the index.php within the htdocs folder works as intended and all services are on.
coty
 
Posts: 4
Joined: 08. November 2011 23:19
Operating System: win 7 home premium

Re: Object not found

Postby Sharley » 09. November 2011 00:08

When you saved your php file after creating in your text editor it may have added a hidden .txt extension.

When saving from a text editor use the any files option not the text option.

Also in Windows you have an option to see all known file types, you should find this option and change it's default hide setting.
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: Object not found

Postby coty » 09. November 2011 00:13

Well I did the same thing in Eclipse for php. Also if i pull up the properties for the file it shows it as a php file.
coty
 
Posts: 4
Joined: 08. November 2011 23:19
Operating System: win 7 home premium

Re: Object not found

Postby Sharley » 09. November 2011 00:32

What does the \xampp\apache\logs\error.log file say about the file not found error?
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: Object not found

Postby coty » 09. November 2011 00:34

ok I got it to work now I have no clue what I did it just started working thanks :)
coty
 
Posts: 4
Joined: 08. November 2011 23:19
Operating System: win 7 home premium


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 50 guests