It sounds like you are not hitting the index.php file in public.
You have to configure xampp to point to http://localhost/yourapp/public
4 years ago
#11
4 years ago
#12
Hey Frocco, would you mind closing the solved threads you have open on previous posts? From memory, there are 2.
Hey yoesakae, just to clarify, you downloaded the desktop app to create an app called 'demo_code', not installed the Trongate Framework from GitHub?
TO HELP YOU, I NEED YOU TO HELP YOURSELF, BY ANSWERING EACH PART IN FULL, OTHERWISE I CAN'T HELP YOU ANY FURTHER.
I will assume you are using the Desktop App:
1. You have confirmed Xampp is installed on Windows 10 and the Apache (on default ports 80, 443) and MySQL (port 3306) servers are running via the Xammp Control Panel? > test by opening a browser and type 'localhost' in the URL > you should see the 'Apache Friends' dashboard? > please click on both top right menus > PHPInfo and phpMyAdmin > You should see the phpinfo() open in a new tab > what version do you see? > also phpMyAdmin should open up and you should see the databases you have >> PLEASE CONFIRM ALL OF THIS IS WORKING FOR YOU?
2. Open the Trongate Desktop App > a black window should open with 'TRONGATE v1.0.004', click OKAY > a blue 'C64 style' screen should open > click the 'CREATE NEW APP' button > enter an app name, for our example, name it 'demo' > the screen should now say ENTER BASE URL, it should auto fill to 'http://localhost/demo/', don't change anything and click SUBMIT > Next you will see ENTER DATABASE CONNECTION DETAILS, click anywhere in the white blank centre window and it should auto populate to
Enter your root password if you have one, or leave it blank if not, then hit SUBMIT (the desktop app will create an empty database of the same name as your app, 'demo') > CHOOSE A LOCATION FOR THE NEW APP, click to choose > Navigate to where you have Xampp installed, select the 'htdocs' folder > click GENERATE NEW APP > You should see a spiny thing > once complete > click VIEW YOUR NEW APP (green button) > a new tab should open on your default browser and you SHOULD be seeing the blue "CONGRATULATIONS IT TOTALLY WORKS!" screen > Skip steps 3 & 4 ALL IS WORKING FINE
3. If you are still not seeing the above and you still have a '404 not found' (grey background) - not the red screen generated by Trongate; I think you have either a permission issue with your Xampp install or the .htaccess redirect is not working on your setup. PLEASE ALSO CHECK the files in htdocs/demo to see they are all there? If not...
4. Uninstall Xampp, redownload the latest version and install it again
5. Run the Xampp Control Panel as 'administrator' and start the Apache and MySQL servers > goto to step 1
PLEASE CONFIRM ALL THE ABOVE, SO WE CAN HELP YOU FURTHER.
Hey yoesakae, just to clarify, you downloaded the desktop app to create an app called 'demo_code', not installed the Trongate Framework from GitHub?
TO HELP YOU, I NEED YOU TO HELP YOURSELF, BY ANSWERING EACH PART IN FULL, OTHERWISE I CAN'T HELP YOU ANY FURTHER.
I will assume you are using the Desktop App:
1. You have confirmed Xampp is installed on Windows 10 and the Apache (on default ports 80, 443) and MySQL (port 3306) servers are running via the Xammp Control Panel? > test by opening a browser and type 'localhost' in the URL > you should see the 'Apache Friends' dashboard? > please click on both top right menus > PHPInfo and phpMyAdmin > You should see the phpinfo() open in a new tab > what version do you see? > also phpMyAdmin should open up and you should see the databases you have >> PLEASE CONFIRM ALL OF THIS IS WORKING FOR YOU?
2. Open the Trongate Desktop App > a black window should open with 'TRONGATE v1.0.004', click OKAY > a blue 'C64 style' screen should open > click the 'CREATE NEW APP' button > enter an app name, for our example, name it 'demo' > the screen should now say ENTER BASE URL, it should auto fill to 'http://localhost/demo/', don't change anything and click SUBMIT > Next you will see ENTER DATABASE CONNECTION DETAILS, click anywhere in the white blank centre window and it should auto populate to
Enter your root password if you have one, or leave it blank if not, then hit SUBMIT (the desktop app will create an empty database of the same name as your app, 'demo') > CHOOSE A LOCATION FOR THE NEW APP, click to choose > Navigate to where you have Xampp installed, select the 'htdocs' folder > click GENERATE NEW APP > You should see a spiny thing > once complete > click VIEW YOUR NEW APP (green button) > a new tab should open on your default browser and you SHOULD be seeing the blue "CONGRATULATIONS IT TOTALLY WORKS!" screen > Skip steps 3 & 4 ALL IS WORKING FINE
3. If you are still not seeing the above and you still have a '404 not found' (grey background) - not the red screen generated by Trongate; I think you have either a permission issue with your Xampp install or the .htaccess redirect is not working on your setup. PLEASE ALSO CHECK the files in htdocs/demo to see they are all there? If not...
4. Uninstall Xampp, redownload the latest version and install it again
5. Run the Xampp Control Panel as 'administrator' and start the Apache and MySQL servers > goto to step 1
PLEASE CONFIRM ALL THE ABOVE, SO WE CAN HELP YOU FURTHER.
4 years ago
#13
I closed the other two posts.
4 years ago
#14
Thanks Frocco, much appreciated
4 years ago
#15
exactly the same as laravel error message "404 not found" with gray background.
Unable to reproduce this error.
Tell me, what is working for you.
Unable to reproduce this error.
Tell me, what is working for you.
4 years ago
#16
I shared the same problem with you. My solution was to paste the folder of the project that I created with the Trongate App (e.g., trongate_for_ever) into the htdocs directory [C:\xampp\htdocs]. I'm not sure whether the Trongate App automatically produces the folder in the htdocs directory, but this doesn't happen in my case.
4 years ago
#17
Hi Ioannis,
The desktop app certainly does support creating your app on htdocs, you just need to point it to there when creating it. Please view the docs and watch the many videos on creating a new app. If you are still having issues, I can create a video on the subject too.
The desktop app certainly does support creating your app on htdocs, you just need to point it to there when creating it. Please view the docs and watch the many videos on creating a new app. If you are still having issues, I can create a video on the subject too.
4 years ago
#18
Hi DaFa,
Thanks for your prompt response. The introductory video "Automatic Installer" creates the project in the htdocs directory of xampp folder. However, someone not experienced with xampp may understand this is an optional choice. In my case, I selected the document folder on my PC to save the Trongate App. After some time searching, I understood that putting the App in the htdocs folder is a mandatory action and not optional.
Thanks for your prompt response. The introductory video "Automatic Installer" creates the project in the htdocs directory of xampp folder. However, someone not experienced with xampp may understand this is an optional choice. In my case, I selected the document folder on my PC to save the Trongate App. After some time searching, I understood that putting the App in the htdocs folder is a mandatory action and not optional.
4 years ago
#19
Hi Ioannis,
This thread has diverged from yoesakae original post - which now seems to have vanished?
I can see how this may be confusing for newcomers but this is not an Xampp or Trongate requirement, it's more an Apache server configuration thing which can be defined in the httpd.conf file found in the Apache/conf folder. This setting points the Apache server to look in that folder and serve HTML or PHP files to http://localhost in your browser.
In a Xampp setup, it is defined like so:
so you could put your web folder anywhere you like ?
This thread has diverged from yoesakae original post - which now seems to have vanished?
I can see how this may be confusing for newcomers but this is not an Xampp or Trongate requirement, it's more an Apache server configuration thing which can be defined in the httpd.conf file found in the Apache/conf folder. This setting points the Apache server to look in that folder and serve HTML or PHP files to http://localhost in your browser.
In a Xampp setup, it is defined like so:
so you could put your web folder anywhere you like ?