Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation is not running #54

Open
ophet03 opened this issue Oct 21, 2021 · 5 comments
Open

Installation is not running #54

ophet03 opened this issue Oct 21, 2021 · 5 comments
Labels

Comments

@ophet03
Copy link

ophet03 commented Oct 21, 2021

Hi Khodakhah,

Please help to fix,

Welcome to
Fatal error: Uncaught Error: Using $this when not in object context in D:\wwwroot\nodcms-master\nodcms-installer\Views\overview.php:1 Stack trace: #0 {main} thrown in D:\wwwroot\nodcms-master\nodcms-installer\Views\overview.php on line 1

thank you.

@khodakhah
Copy link
Owner

Hi,

Unfortunately, I couldn't reproduce the error. Are you using PHP version 7.3.0 or more?

@ophet03
Copy link
Author

ophet03 commented Oct 22, 2021

Yes I am using PHP version 7.3.1 exactly.

After I extract the NodCMS master package, and then I open the browser for installation but the page installation is not automatically open, so I try to open file overview.php in the nodcms-installer folder and then the page is error.

And in the NodCMS-Master package I didn't found the SQL file for database import.

Please help, what should I do?

Thanks.

@khodakhah
Copy link
Owner

There isn't any MySQL code to import into the database. It will generate from Model classes during the installation wizard.

It would be great if you help me to find out why the installer wizard not working.
After opening NodCMS on the browser, please take a look at your directory nodcms-master/writable/logs/. If there are log files (any PHP file) send them to me. So I'll be able to catch errors.

If there wouldn't be any fast fix way I'll send you a .sql file to import.

Thanks

@ophet03
Copy link
Author

ophet03 commented Oct 26, 2021

writable/logs folder is empty. I think I must Install NodCMS manually, so I need a .sql file to import and please explain steps for manual install.

thank you.

@khodakhah
Copy link
Owner

If you are not able to see index of the installer, it means there is something wrong with the server config, PHP request, or .htaccess file.
Please make sure that your browser is calling the right path: /public/. In other words, your domain should point to the directory public.

If there is no problem with the PHP service, you should be able to see one of the following pages:

  • The first page of the installation wizard (which means all things go right and you can install the database)
  • NodCMS empty homepage (which means your database is already installed successfully)
  • A simple error page that contains "Whoops! We seem to have hit a snag. Please try again later..." (which means there is PHP error on the application that already has been logged in /writable/logs/
  • A 404 error page or any other error page but with some styles.

Otherwise, a SQL file will not help you anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants