CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 HTTP خطأ 404.3 - Not Found

Print topic Send  topic

Author Message
mustafabinamar

Posts: 15
Posted: 12/06/2014, 10:18 AM

Hi Friends,

I am new to Code Charge Studio. I doing First Sample Hello World Application. I am getting some error as given below at the time of Live Page view.

HTTP خطأ 404.3 - Not Found

HTTP Error 404.3 - Not Found

The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.



Detailed Error Information
Module StaticFileModule
Notification ExecuteRequestHandler
Handler StaticFile
Error Code 0x80070032
Requested http://localhost:80/bilal/index.php
Physical Path C:\inetpub\wwwroot\bilal\index.php
Logon Method Anonymous
Logon User Anonymous
Most likely causes:
It is possible that a handler mapping is missing. By default, the static file handler processes all content.
The feature you are trying to use may not be installed.
The appropriate MIME map is not enabled for the Web site or application. (Warning: Do not create a MIME map for content that users should not download, such as .ASPX pages or .config files.)
If ASP.NET is not installed.
Things you can try:
In system.webServer/handlers:
Ensure that the expected handler for the current page is mapped.
Pay extra attention to preconditions (for example, runtimeVersion, pipelineMode, bitness) and compare them to the settings for your application pool.
Pay extra attention to typographical errors in the expected handler line.
Please verify that the feature you are trying to use is installed.
Verify that the MIME map is enabled or add the MIME map for the Web site using the command-line tool appcmd.exe.
To set a MIME type, use the following syntax: %SystemRoot%\windows\system32\inetsrv\appcmd set config /section:staticContent /+[fileExtension='string',mimeType='string']
The variable fileExtension string is the file name extension and the variable mimeType string is the file type description.
For example, to add a MIME map for a file which has the extension ".xyz": appcmd set config /section:staticContent /+[fileExtension='.xyz',mimeType='text/plain']
Warning: Ensure that this MIME mapping is needed for your Web server before adding it to the list. Configuration files such as .CONFIG or dynamic scripting pages such as .ASP or .ASPX, should not be downloaded directly and should always be processed through a handler. Other files such as database files or those used to store configuration, like .XML or .MDF, are sometimes used to store configuration information. Determine if clients can download these file types before enabling them.
Install ASP.NET.
Create a tracing rule to track failed requests for this HTTP status code. For more information about creating a tracing rule for failed requests, click here.
Links and More Information
This error occurs when the file extension of the requested URL is for a MIME type that is not configured on the server. You can add a MIME type for the file extension for files that are not dynamic scripting pages, database, or configuration files. Process those file types using a handler. You should not allows direct downloads of dynamic scripting pages, database or configuration files.
View more information »






Please assist me How to solve this problem........

Thanks

View profile  Send private message
MichaelMcDonald

Posts: 640
Posted: 12/06/2014, 11:03 PM

Install PHP from IIS Admin - Fast CGI
_________________
Central Coast, NSW, Australia.

View profile  Send private message
mustafabinamar

Posts: 15
Posted: 12/06/2014, 11:42 PM

Ok Thanks a lot for reply. I have already WampServer64 installed in My PC, You mean I need to uninstalled this and again installed this.

Please update.
View profile  Send private message
mustafabinamar

Posts: 15
Posted: 12/07/2014, 3:29 AM

Thanks for update.

Please guide me. What to do? I need to move this project folder in Wamp Server www root or where??

Thanks
View profile  Send private message
MichaelMcDonald

Posts: 640
Posted: 12/07/2014, 3:32 AM

Maybe my bad advice.

It looked like an error from I.I.S., did not look like an error I had seen before from WAMP.

I thought you were using MS Internet Information Server
_________________
Central Coast, NSW, Australia.

View profile  Send private message
MichaelMcDonald

Posts: 640
Posted: 12/07/2014, 3:32 AM

Maybe my bad advice.

It looked like an error from I.I.S., did not look like an error I had seen before from WAMP.

I thought you were using MS Internet Information Server
_________________
Central Coast, NSW, Australia.

View profile  Send private message
eratech


Posts: 513
Posted: 12/07/2014, 4:29 PM

Sorry - I just answered the same question in the PHP forum and it looked to me that the error was in IIS. The location C:\Inetpub\wwwroot is IIS, WAMP etc is C:\wamp\www

Which then makes me ask - what are you using xwamp for? It sounds like a difference between where you are publishing to, and what the server is expecting for PHP files.

For my dev work I prefer to use WAMP (or MAMP on my Mac) instead of IIS due to size and complexity of IIS, and it's tied to Windows only.

E
_________________
CCS 3/4/5 ASP Classic, VB.NET, PHP
Melbourne, Victoria, Australia
View profile  Send private message
mustafabinamar

Posts: 15
Posted: 12/09/2014, 2:59 AM

Hi

Thanks a lot for replying. I am using WampServer64 ( I donot have IIS) but by default it is saving in my documents. So I change my project location from my documents to C:\wamp\www then I try and I get out put along with some error. as given below.........



( ! ) Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in C:\wamp\www\codecharge\helloworld\HelloWorldProject\Template.php on line 92
Call Stack
# Time Memory Function Location
1 0.0710 266752 {main}( ) ..\HelloWorld.php:0
2 0.3330 2229232 clsTemplate->LoadTemplate( ) ..\HelloWorld.php:79
3 0.3340 2230432 clsTemplate->LoadTemplateFromStr( ) ..\Template.php:56
4 0.3340 2231584 preg_replace ( ) ..\Template.php:92
HelloWorld!



Please look and guide me. It is simple project ( First Project of Code Charge Studio Hello World).

Thanks.
View profile  Send private message
eratech


Posts: 513
Posted: 12/09/2014, 2:27 PM

The 'Template.php' loads the templates and puts the data in them - it looks like it's using some old (deprecated) code and PHP is reminidng you to change it.

To get around this, try changing the Project Settings > Server/Settings > Error Reporting to 'Disable' and republish. This should hide these kinds of errors and you can get on with trying CCS out.

I suspect that this 'preg_replace' deprecation and some others I've noticed (mysql_real_escape) will be updated sometime.

E'
_________________
CCS 3/4/5 ASP Classic, VB.NET, PHP
Melbourne, Victoria, Australia
View profile  Send private message
mustafabinamar

Posts: 15
Posted: 12/10/2014, 1:41 AM

Thanks a lot for this update. I disable in project setting. But same output is coming. When I check Live page in Code charge it is giving error as given below.



The webpage cannot be found

HTTP 404


Most likely causes:
•There might be a typing error in the address.
•If you clicked on a link, it may be out of date.

What you can try:
Retype the address.

Go back to the previous page.

But when I check through XAmp server folder www, It is showing same error. as given below.

! ) Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in C:\wamp\www\codecharge\helloworld\HelloWorldProject\Template.php on line 92
Call Stack
# Time Memory Function Location
1 0.0000 267840 {main}( ) ..\HelloWorld.php:0
2 0.0125 2230248 clsTemplate->LoadTemplate( ) ..\HelloWorld.php:79
3 0.0125 2231448 clsTemplate->LoadTemplateFromStr( ) ..\Template.php:56
4 0.0125 2232600 preg_replace ( ) ..\Template.php:92
HelloWorld!

Please guide me

Thanks a lot.





View profile  Send private message
MichaelMcDonald

Posts: 640
Posted: 12/11/2014, 1:30 PM

What is the actual name of your publishing folder?

I suspect there could be a couple of issues to knock out here.
_________________
Central Coast, NSW, Australia.

View profile  Send private message
mustafabinamar

Posts: 15
Posted: 12/12/2014, 3:47 AM

Hi

I am having my code in the below mention place

C:\wamp\www\codecharge\helloworld\HelloWorldProject

Please look and guide me.

Thanks.
View profile  Send private message
eratech


Posts: 513
Posted: 12/12/2014, 6:41 PM

Ok - so if you go to that folder:

C:\wamp\www\codecharge\helloworld\HelloWorldProject

in Windows Explorer, you see the files you published?

If so, then I suspect (from WAMP) you should be able to use a web browser to browse to:

http://localhost/codecharge/helloworld/HelloWorldProject/

Personally, I don't use the Live Preview as I prefer to have a real browser on the case so I can use the debug tools like Firebug etc.

Eric

_________________
CCS 3/4/5 ASP Classic, VB.NET, PHP
Melbourne, Victoria, Australia
View profile  Send private message
MichaelMcDonald

Posts: 640
Posted: 12/13/2014, 8:38 PM

Maybe have to create alias in WAMP?
_________________
Central Coast, NSW, Australia.

View profile  Send private message
mustafabinamar

Posts: 15
Posted: 12/13/2014, 10:47 PM

Hi

Thanks a lot for reply. How to Create Alias in WAMP? Please give me procedure for this.

Thanks.
View profile  Send private message
mustafabinamar

Posts: 15
Posted: 12/16/2014, 11:04 PM

Hello

Can any one guid me. How to use the code charge studio. I am having some questions. Please if you have any notes or any video or any other documents please update me.

Thanks

BR
View profile  Send private message
mustafabinamar

Posts: 15
Posted: 12/17/2014, 1:00 AM

Hi

Now I am getting Out Put in Code charge Live Page but some error is coming can you please assist me.

The error I am getting as given below.


( ! ) Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in C:\wamp\www\codecharge\helloworld\HelloWorldProject\Template.php on line 92
Call Stack
# Time Memory Function Location
1 0.0000 269064 {main}( ) ..\HelloWorld.php:0
2 0.0312 2231312 clsTemplate->LoadTemplate( ) ..\HelloWorld.php:79
3 0.0312 2232512 clsTemplate->LoadTemplateFromStr( ) ..\Template.php:56
4 0.0312 2233664 preg_replace ( ) ..\Template.php:92
HelloWorld!
View profile  Send private message
eratech


Posts: 513
Posted: 12/17/2014, 3:19 AM

This is the same error you were receiving last week. Please refer to my answer dated "Posted: 12/09/2014, 2:27 PM"

There is also a similar question in the PHP forum that might help you too.

May I ask - seriously so I can try and help - have you done much development using PHP or WAMP before?

E
_________________
CCS 3/4/5 ASP Classic, VB.NET, PHP
Melbourne, Victoria, Australia
View profile  Send private message
mustafabinamar

Posts: 15
Posted: 12/17/2014, 3:32 AM

Yes I done that same. But same error is coming. I am New to PHP, I work some small program inWamp Server etc..

Please guide me
Thanks
View profile  Send private message
mustafabinamar

Posts: 15
Posted: 12/17/2014, 8:13 AM

Hi

Now Automatic it is working now I am getting out put with out any error.

Thanks all for your assistance.

Thanks.
View profile  Send private message
eratech


Posts: 513
Posted: 12/17/2014, 3:02 PM

I'm glad it's working

Can you post what changes you made so it might help others in future?

E
_________________
CCS 3/4/5 ASP Classic, VB.NET, PHP
Melbourne, Victoria, Australia
View profile  Send private message
mustafabinamar

Posts: 15
Posted: 12/17/2014, 10:12 PM

Just make some Project Setting changes.

Like

1. Sever / Script: Error Reporting is disable.
2. Server path: C:\wamp\www\codecharge
3. Server URL: http://localhost/codecharge/helloworld/HelloWorldProject/HelloWorld.php

After this changes the out put came Hello World without any error.

Thanks a lot for your assistance all.

BR
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.