Fail to load url (http://localhost/myproject/index.php) and displays loading error(-102)

3,569 views
Skip to first unread message

sathya...@gmail.com

unread,
Feb 19, 2014, 7:40:03 AM2/19/14
to phpde...@googlegroups.com
Hi,

I am new to this php desktop application..this is awesome for php developers to convert it as a native desktop application..but my project is working fine in my system, when i try to run the application from other system..its showing loading error(-102). When i see the command prompt terminal..i noticed it as "Failed to load URL: http://localhost/myproject/index.php".

I searched phpdesktop for guidelines or solutions..unfortunately i couldnt found any solution for this..can any1 help..??

thanks in advance

Czarek Tomczak

unread,
Feb 19, 2014, 8:25:04 AM2/19/14
to phpde...@googlegroups.com
Sathya,

First thing. Why are you using "localhost"? Make it "127.0.0.1", as it is more relaible.

Second thing. Why is the url "/myproject/index.php" instead of "/index.php"?

I'm not sure what you you're doing, you're urls are not the defaults of phpdesktop.

I also don't see any port in the url, it should be something like http://127.0.0.1:54007/index.php - where 54007 is a random port generated. Check how url looks like on your local system - in the console.

-Czarek

sathya...@gmail.com

unread,
Feb 19, 2014, 8:53:13 AM2/19/14
to phpde...@googlegroups.com
Thanks for your immediately reply Czarek :). I will check with that and come back to you..thanks :)

sathya...@gmail.com

unread,
Feb 19, 2014, 9:47:21 AM2/19/14
to phpde...@googlegroups.com
Hi Czarek,

It worked as u mentioned..but have only one issue now..after 2-3 pages navigation i have a home button which redirects to index.php. But here its not redirecting to home page..instead going to xampp home page. I tried like 127.0.0.1/index.php too..still its not working..any suggestions on this? thanks in advance

Czarek Tomczak

unread,
Feb 19, 2014, 9:52:46 AM2/19/14
to phpde...@googlegroups.com
Like I said. Take a look in the debug console of how urls should look like, something like http://127.0.0.1:54007/.

Your scripts probably try to redirect you to http://127.0.0.1/ or http://localhost/ - the url doesn't contain the port, thus you are redirected to a different web server running on your machine, the one that listens on port 80. Php desktop creates a web server on some random port. Though you can set a fixed one in settings.json file. See the Settings wiki page for details on how to set fixed port.

Your php script should redirect using only path, without "http://", for example redirect to "/index.php" - this will be resolved to a full url like "http://127.0.0.1:54007/index.php".

-Czarek

sathya...@gmail.com

unread,
Feb 20, 2014, 12:09:18 AM2/20/14
to phpde...@googlegroups.com
Hi Czarek,

Thanks for your support..it was very clear in wiki..i guess iam blind ;) i missed that..:P

Its working perfectly now.. thanks for the product and your great support :D

Czarek Tomczak

unread,
Feb 20, 2014, 5:39:24 AM2/20/14
to phpde...@googlegroups.com
Good you have it working Sathya. Have fun with PHP Desktop.

-Czarek

sathya...@gmail.com

unread,
Feb 20, 2014, 7:02:33 AM2/20/14
to phpde...@googlegroups.com
Hi Czarek,

I got an another issue..please help me out by letting know how to increase execution time of phpdesktop. Reason is, i build a file search engine to search file name in a drive or 1000s of folders..while searching its take infinite time(more time) and display the results atlast. So i need to increase the execution time or to make it infinite..kindly let me know the solution for this..thanks.

Czarek Tomczak

unread,
Feb 20, 2014, 7:41:08 AM2/20/14
to phpde...@googlegroups.com
Extend the php time execution through a php.ini option or via set_time_limit(0) function.

This question isn't really fitted for PHP Desktop Forum. It is a general PHP question.

-Czarek
Message has been deleted

blcr...@bvsd.org

unread,
Jun 13, 2018, 12:01:11 PM6/13/18
to PHP Desktop
BECH

lucky...@gmail.com

unread,
Apr 1, 2019, 10:56:31 AM4/1/19
to PHP Desktop
Your system folder path does not appear to be set correctly. Please open the following file and correct this: index.php

this type of error shown in my pc.

how can i solve this

razabh...@gmail.com

unread,
Jan 29, 2020, 5:55:53 AM1/29/20
to PHP Desktop
good its working

bioscen...@gmail.com

unread,
Jan 29, 2020, 10:39:53 AM1/29/20
to PHP Desktop


I have an error in codeigniter I get the following error

* Your system folder path does not appear to be set correctly. Please open the following file and correct this: index.php*  they would help me

Ananya Jha

unread,
Aug 6, 2023, 2:42:19 AM8/6/23
to PHP Desktop
my system path is  not correctly set . please help me correctthis path
Reply all
Reply to author
Forward
Message has been deleted
0 new messages