"The page cannot be found" + "No projects found"
Posted by: Supermoose (---.range86-144.btcentralplus.com)
Date: July 20, 2006 07:08PM

Hi, i am new to all of this and i have downloaded this to check my php scripting for work.

When i try to open files i get "The page cannot be found" , why...?

Also when i try to open folders with logos and php scripts in it i get "No projects found", agian why...?

Any help would be good

Re: "The page cannot be found" + "No projects found"
Posted by: yfastud (72.236.169.---)
Date: July 20, 2006 07:33PM

Be more specific!
Are all your services working? Did you see wamp welcome page when access [localhost]? Are all your php files in the right place, i.e. c:/wamp/www/your_project_folder
Hope this help

Re: "The page cannot be found" + "No projects found"
Posted by: Supermoose (---.range86-144.btcentralplus.com)
Date: July 20, 2006 07:41PM

I just made a new folder and new folder and put a txt file and picure in there and i can get access to them, but it seems when i put a php file in there it make the poblem of not being able to access it properly. Do i have to do soemthing else to upload php files?

Re: "The page cannot be found" + "No projects found"
Posted by: yfastud (72.236.169.---)
Date: July 20, 2006 07:50PM

What do mean upload? Remember, you're a SERVER already. It sounds like you have a problem with your code mostly.
Anyway, I'm a newbie, too, so let the profesional like Romans or CyberSpatium to help you out, then.
Keep me posted.

Re: "The page cannot be found" + "No projects found"
Posted by: Supermoose (---.range86-144.btcentralplus.com)
Date: July 20, 2006 08:01PM

yeah i am a total newbie so, if people need info read my first message cause i was only guessing on second part.

Re: "The page cannot be found" + "No projects found"
Posted by: CyberSpatium (67.170.181.---)
Date: July 20, 2006 08:56PM

you need to put all your php scripts in your www folder. that is your document root and where all your website files should be. if your php files are not here, then apache will not parce them. you can also create folders in your www folder, and they will work too.

Re:
Posted by: yfastud (72.236.169.---)
Date: July 20, 2006 08:56PM

Post your code here, someone might catch error code for you.
By the way, where you put your images and how you access them? Be specific so people can help you out.
Keep me posted.



Post Edited (07-20-06 21:05)

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Re: "The page cannot be found" + "No projects found"
Posted by: CyberSpatium (67.170.181.---)
Date: July 20, 2006 09:40PM

this has nothing to do with php code errors. he just needs to put all his php files in the www folder.

Re: "The page cannot be found" + "No projects found"
Posted by: yfastud (72.236.169.---)
Date: July 20, 2006 09:46PM

Yeah! I did mention it in my first post here, then remind him again in my last post.
Anyway, try it, then post back here.
Keep me posted.

Re: "The page cannot be found" + "No projects found"
Posted by: Supermoose (---.swgfl.ifl.net)
Date: July 21, 2006 11:15AM

I have a php file in there already that was created when i downloaded wamp and i get the problem when i have it in the www folder.

when i have that php file in there it goes back to the localhost main page saying no projects found. I have sorted then other problem out by turning wamp offline.

I will take home some more php files i have created and try them instead of the file already there.

I wil give more info later when i am at home.

Re: "The page cannot be found" + "No projects found"
Posted by: yfastud (72.236.169.---)
Date: July 21, 2006 01:21PM

The included php file in www folder is wamp welcome page I already mention in my first post here, I mean it will show up when you access localhost through tray icon or [localhost]. The others, outside www folder, are for running wamp, if not sure, don't mess with them.

To run your other php files, they should be in your_project_folder and this folder should be in www folder. For example, to run test.php, it should be in:

c:/wamp/www/your_project_folder/test.php

Then type in browser like this:

[localhost]

Hope this clear enough.

Keep me posted.

Re: "The page cannot be found" + "No projects found"
Posted by: CyberSpatium (67.170.181.---)
Date: July 21, 2006 02:00PM

yfastud you made a small error in your post, edit your post and change
[localhost]

to
[localhost]

Re: "The page cannot be found" + "No projects found"
Posted by: yfastud (72.236.169.---)
Date: July 21, 2006 02:03PM

Thanks CyberSpatium for correcting.

Re: "The page cannot be found" + "No projects found"
Posted by: Supermoose (---.range86-143.btcentralplus.com)
Date: July 21, 2006 04:04PM

Ok got some help from someone at work who knew what they were doing. I had the global set to off, i cheanged it to on and seems to be running, i also put some of my php code in there so that might of helped it as well.

However, i have been writing some more code and put it into a new folder and now when i click on that folder it oens one of the files instead of showing a list of files, why?

Re: "The page cannot be found" + "No projects found"
Posted by: yfastud (72.236.169.---)
Date: July 21, 2006 06:10PM

I keep repeating that your folder should be in www folder, but seem I talk to myself though. To run your php files, it should be like this:
[localhost]
[localhost]
If you direct click on that new folder, all new files must be in there, if not, you have a problem when copy files over.

Re: "The page cannot be found" + "No projects found"
Posted by: Supermoose (---.range86-143.btcentralplus.com)
Date: July 21, 2006 06:13PM

My files are in the www folder, my php files are running fine, its just when i want to access a subfolder it goes straight to a file in there instead of showing a list of them...

Re: "The page cannot be found" + "No projects found"
Posted by: yfastud (72.236.169.---)
Date: July 21, 2006 06:25PM

So you go like this:
http//localhost/newfolder/
Remember, it should have forward flash in the end. It should show the list of files in newfolder, because mine is working just fine.

Re: "The page cannot be found" + "No projects found"
Posted by: Supermoose (---.range86-143.btcentralplus.com)
Date: July 21, 2006 06:29PM

My subfolder is accessed like this:

[localhost]

as i said before, it just shows a file instead of a list, there are 4 files in there...

Re: "The page cannot be found" + "No projects found"
Posted by: Supermoose (---.range86-143.btcentralplus.com)
Date: July 21, 2006 06:33PM

It seems to be opening my index.php file...

not sure if this is any help.

Re: "The page cannot be found" + "No projects found"
Posted by: Supermoose (---.range86-143.btcentralplus.com)
Date: July 21, 2006 06:57PM

yep it was because it was called index

sorry to bother u lot again, but now i cant see my file header.php, and this time i have no idea why..

Sorry, only registered users may post in this forum.