CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> CodeCharge Studio -> General/Other

 object not found

Print topic Send  topic

Author Message
Taniarto

Posts: 11
Posted: 12/04/2014, 1:59 AM

Hi,
I'm beginner on CCS, please help with my problems.
I Just create an application with ccs , my database is mysql (from xammp installation).
When I try to run the application the browser tells Object not found !
the request url was not found on this server. If you entered the url manually please check your spelling
and try again....
Error 404..

please help...

thx
View profile  Send private message
eratech


Posts: 513
Posted: 12/05/2014, 9:09 PM

Taniarto -

When you set up the Project Settings > Publishing locations did you point to the right xammp folder, and did you select the right types of files to publish (it is usually Ok, but sometimes odd files will get missed)

Then you published the project and you can see your files in the XAMMP folder right?

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

Posts: 11
Posted: 12/06/2014, 12:48 AM

1. I Already put my directory address into xammp/htdocs directory
2. what kind of types of files? could you direct me?

thanks
View profile  Send private message
eratech


Posts: 513
Posted: 12/06/2014, 8:13 PM

In the Publishing settings you can choose 'Files to Publish' (Project Files, All files with extensions, and All files without extensions)

On rare time this might miss some when you publish if the file extensions are unusual (eg I forgot to add '.PNG' to my publish once and all my images didn't get published)

But after you have Published, do you see the files in the xammp/htdocs/YourProjectName directory?

I'm checking to see if either the files are not found because they are not where XAMMP expects to find them, or if they are in the right spot, but a setting is wrong (which might include spelling) that is making XAMMP not find the files.

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

Posts: 11
Posted: 12/09/2014, 8:07 PM

what file should I check? Or the name of file because it is happen to I create or running app from ccs tutorial creating helloworld app (object not found ) .. same problems

thx
View profile  Send private message
eratech


Posts: 513
Posted: 12/10/2014, 10:02 PM

After you have Published your website, do you see any files (like index.php) in the xammp/htdocs/YourProjectName directory (or whereever you are publishing to)?

That's the first step in knowing if you are missing files or if it hasn't actually published correctly.

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

Posts: 11
Posted: 12/10/2014, 11:18 PM

no I can't find it .please tell me why and the solution..

thanks :(
View profile  Send private message
eratech


Posts: 513
Posted: 12/10/2014, 11:28 PM

Ok - after you have created the application in CodeCharge Studio (CCS), you need to set up the Project settings for Publishing locations so CCS will transfer the files to the server - like xampp - when you click 'Publish Project'.

When you Publish Project, you should see some status messages in CCS about generating and transfering files.

If the publishing location is set correctly, then you should see the published files in the published location - such as c:\wamp\www\myproject\ for WAMP, or something similar in XAMMP.

So, to summarise:

1) check your Project's "Publishing Settings" locations
2) Ensure you have Published the Project (big button for it)
3) Check the files are ended up where you expected them to be published to
4) then try to access them with a browser (if your XAMMP is using a different port, then ensure you include that in the browser URL - http://localhost/myproject is different to http://localhost:8080/myproject

Eric




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

Posts: 11
Posted: 12/12/2014, 6:49 PM

Dear Eric,

After I run the project from browser (http://localhost/myproject ) it's show information index as follow :
Index of myproject

Name Last modified size Description

Parent Directory
Myproject.html
myproject.php
calendarnavigation.php

and so on...

tell me please where is my mistakes..

thanks
View profile  Send private message
beevet

Posts: 47
Posted: 12/13/2014, 3:16 PM

Do you have a page called index.php? Most servers will look for that when you call the directory. If not, you need to rename a page to be your index page. If it calls the HTML page, then you need to adjust server to look for php page first.
Good luck, hope this helps
Chris
View profile  Send private message
beevet

Posts: 47
Posted: 12/14/2014, 2:40 AM

Other option is to call the page directly in your browser:

http://localhost/myproject/myproject.php

Chris
View profile  Send private message
Taniarto

Posts: 11
Posted: 12/14/2014, 6:25 PM

Dear Chris,

It still appearing same result..actually are the compatibility problems with xammp with ccs?

thanks,



View profile  Send private message
beevet

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

I do not know about compatibility problems, I have not heard of that in all the years of reading this forum. I use WAMP. The A is for Apache in both, but I am not sure how it is configured out of the download in XAMPP. I really think this is your not typing the name right in the browser (sorry to have to say that)

How about posting a screen shot here? Eratech gave you some sound advice, as I think I have.

The name of the project is case sensitive.

http://localhost/myproject/myproject.php

is different from

http://localhost/myproject/Myproject.php

because of the capital M.

Perhaps we could have a screen shot of the index page you get and the error you get when you put in the links in this email? Include the address bar in the picture. Don't include any identifiable information you don't want to share.

So, my thought on your next steps:
1. make sure XAMPP is started and working
2. Open a browser
3. Click on one of the links above.
4. CLick on the other link above.
5. IF that does not work, take screen shots and post them online and give us links to them.

6 if that works, then consider renaming myproject in your CodeChargeStudio (CCS) by right clicking on the page in the project explorer and then chose rename. Put index as the new name. Allow it to update all links to the page. Now publish again.
7. go to your browser again and type in http://localhost/myproject making sure the capitalization is correct. Don't add the file name. hit enter
8. If you have the page showing, then you are all set.
9. If you do not have the page, then do a search on the web for APACHE DirectoryIndex. In APACHE server you can set what pages load first when you call a directory. I think that XAMPP should be set up right by default however, so be careful if you get into tweaking your server setup.

Hope this makes things clearer

Chris


View profile  Send private message
Oper


Posts: 1195
Posted: 12/15/2014, 4:22 AM

Taniarto,

XAMMP, WAMP or whatever form of MySQL+Apache Installation is out there has nothing to do with CCS

CSS generate the Code. Done!


so first you have to check if your installation of XAMMP is Working

Forget about CCS for now and test your Installation (trust me CCS is working ok)


Create this Php sample code and try to run from your browser:

TEST.PHP
  
<?php  
  
phpinfo();  
  
?>  


_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)

http://www.PremiumWebTemplate.com
Affiliation Web Site Templates

Please do backup first
View profile  Send private message
Taniarto

Posts: 11
Posted: 12/15/2014, 7:41 PM

where should I put the phpinfo file could I put it on my \\xammp\myproject or any other ways? and how do I call it from browser..

I also create joomla based on the xammp..but it is working..I still don't know what is my mistake..

thanks
View profile  Send private message
beevet

Posts: 47
Posted: 12/16/2014, 3:59 AM

Taniarto,

Oper gives good advice for making sure XAMPP is working.

Open Notepad or other text editor.

Copy and paste from < to > in his quote. Make sure there is no space after the closing>

Save the file into your \\xammp\myproject file. Use the file name TEST.PHP

Open the folder with explorer. Look for that file and make sure it is TEST.PHP and not something like TEST.PHP.txt

In the browser, enter

http://localhost/myproject/TEST.PHP

Make sure the capitalization matches what is in your folder.

You should see the phpinfo site that your server produces.

Let us know what you see

Chris
View profile  Send private message
Taniarto

Posts: 11
Posted: 12/16/2014, 11:24 PM

Dear Chris,

The result is still

Object not found !
the request URL was not found on this server. If you entered the URL manually please check your spelling and try again.

Error 404

and so on...

please guide me to solve the problems...

thanks
View profile  Send private message
mustafabinamar

Posts: 15
Posted: 12/17/2014, 2:05 AM

Hi

Save your Code in Xamp www folder and then open code charge studio open project then go to Publish Setting
And Change Server Path to your code path eg: C:\wamp\www\codecharge\helloworld\HelloWorldProject
And Change Server URL eg: http://localhost/codecharge/helloworld/HelloWorldProject/HelloWorld.php


Try this.

Thanks.
View profile  Send private message
beevet

Posts: 47
Posted: 12/17/2014, 2:50 AM

Quote Taniarto:
Dear Eric,

After I run the project from browser (http://localhost/myproject ) it's show information index as follow :
Index of myproject

Name Last modified size Description

Parent Directory
Myproject.html
myproject.php
calendarnavigation.php

and so on...

tell me please where is my mistakes..

thanks

In this post, you say you went to http://localhost/myproject and you saw the directory listing you gave.

Now, you say when you enter http://localhost/myproject/myproject.php, there is a 404 error, page not found. These two postings don't line up and indicated different problems.

Which one is what is happening, or has it changed?

Chris
View profile  Send private message
Taniarto

Posts: 11
Posted: 12/18/2014, 12:42 AM

Dear chris,
the first problem is appearing when I run my Project.. the second one when I run the php file to test my xammp...btw if I install xammp should I install wammp also? where's should I put myproject on wamp directory or xampp?

thx
View profile  Send private message
eratech


Posts: 513
Posted: 12/18/2014, 7:58 PM

Taniarto

You need to install *either* WAMP or XAMMP - not both. They each provide an Apache webserver, MySQL Database and PHP programming so you can run a little development environment on your computer.

I can't remember the 'website' location for XAMMP, but WAMP goes to C:\wamp\www so you would put into CodeCharge publishing location something like c:\wamp\www\myproject and the URL would be like http://localhost/myproject

(Note that if you have changed the port that WAMP works on to, say, '8080', the url will be http://localhost:8080/myproject)

You save your CodeCharge project whereever you like (usually like 'My Documents/Codecharge Projects/Projects/myproject') and Publish it to the c:\wamp\www directory and it should create the 'mydirectory' when you first publish.

Eric
_________________
CCS 3/4/5 ASP Classic, VB.NET, PHP
Melbourne, Victoria, Australia
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.

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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