#1
404 ERROR : PAGE NOT FOUND
This page is being generated by the Trongate Framework.

To edit this page, go to: templates/views/error_404.php

To explore the documentation go to https://trongate.io/docs

https://github.com/trongate/trongate-framework/
On June 20th, I went to this address and downloaded the git code, designated ~~\public folder as DocumentRoot and accessed it, and I checked that it worked well until the first sql door was executed, and then I was wondering where to modify Apache DocumentRoot to operate the default page
Can you send the answer to [email protected] for me to check the reply quickly?
#2
You should probably go to the download link above and get the Trongate desktop app.
From there you should be able to get the code and sql running correctly.
Dan
#3
Hi hg096,

You are not making much sense with your post and more information would be required to help you. Also, I'm NOT going to send you an email.

Dan is correct in his post about using the Desktop app to create your app with a corresponding database - it is SO MUCH easier than doing it manually.

I'm assuming you are on a Linux system - can you please confirm? Also, how is your web stack installed (Apache, MySQL or MariaDB)? If I am to interpret your poorly constructed post. You went to GitHub and either downloaded the zip or cloned the repo of the Trongate framework. If so, you don't set the document root to the public folder of the Trongate app, you set it to the folder Apache normally serves from and you place the Trongate app in that folder ie. www/htdocs/my_first_tg_app.

If you are on Linux or Mac you will need to permit Apache to read and write files to ityou may also need to change ownership for Apache/ PHP withfor Debian based systems.

As for the blue SQL loading screen for a newly created Trongate app via GitHub. You will need to create a database MANUALLY with a tool like PHPMyAdmin and set the configs before launching the app in the browser - usually, the database name is the same as your app. Then and ONLY then will the SQL autoloader work and create the required default tables for your app.

Happy coding
#4
I downloaded a file for the desktop app window and ran it
typeerror: conn.query is not a function
I encountered an error, and I'm using mysql Ver 8.0.37 for Win64 on x86_64 (MySQL Community Server - GPL) version and the user approached it as root and is experiencing this problem. I'm trying to create a new project called mewmew, and even if I create and run a database named mewmew, I get the same error, and even when I don't, I get the same error. If you can't do it all at once like me, why don't you create settings or tutorials that you must follow? I've checked that there are tutorials, but they're still not good enough
#5
Hi hg096,

Your posts are difficult to follow due to their poor structure - but I'll ignore this for now as I assume English is not your first language and you haven't taken the time to search through the Help bar for others who have had a similar error message with privilege settings of MySQL.

To address your current issue:It seems like you haven't properly configured MySQL user access for the Trongate Desktop App. Ensure that the MySQL user has the necessary privileges. Here's a step-by-step guide to grant root access and flush privileges:

1. Open MySQL command line:2. Grant privileges to the root user:3. Restart MySQL service:
If you continue to face issues, make sure your MySQL service is properly running and that you followed my previous post VERBATIM.

Note: Your posts need to be clearer and better structured to facilitate efficient assistance.

Happy coding.
#6
My previous post was for Linux users. However, when rereading your last post it seems you might be on Windows - (Win64 on x86_64).
1. Open Command Prompt as Administrator:

2. Log in to MySQL:3. Grant privileges to the root user:Replace 'your_password' with your actual root password or if blank ''.

4. Restart MySQL service (you can do this through the MySQL Workbench or Services in Windows).

5. Retry running the Trongate Desktop App by creating a new app 'mewmew'.
#7
I'm from Korea and I'm not good at English, but I like the initial belief of trongate, so I'm going to write it. I tried the method you suggested and it was solved.
#8
Hello,
Glad you got everything working.
You will not be disappointed with Trongate Framework, very fast and streamlined.

Dan