mikaelstaer / The-Secretary

http://www.secretarycms.com
GNU General Public License v3.0
88 stars 22 forks source link

Error after install #8

Open nibreh opened 7 years ago

nibreh commented 7 years ago

Hi

After install, home page says:

Oops! Looks like your theme is missing the layout file, layout_default.php.

And there is no user in database.

The Secretary 2.4 PHP 5.6 MySQL 5.5

mikaelstaer commented 7 years ago

This happens when the system can't write files on your server.

Send an email to info@thesecretary.org and I can help you further. Double check the permissions on your Secretary folder too - should be writeable.

-- Mikael Staer Nathan www.mikaelstaer.com www.staernathan.com 647 240 8685

On 8 July 2017 at 07:01, Juh notifications@github.com wrote:

Hi

After install, home page says:

Oops! Looks like your theme is missing the layout file, layout_default.php.

And there is no user in database.

The Secretary 2.4 PHP 5.6 MySQL 5.5

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mikaelstaer/The-Secretary/issues/8, or mute the thread https://github.com/notifications/unsubscribe-auth/AAsWHDpFCqYT9m6Zsk24wvIU_MlzoKwSks5sL2GNgaJpZM4ORtO6 .

nexthedemon commented 7 years ago

hi,

i'm having the same issue... :/ what could that be? permissions are at 755

motyl1337 commented 7 years ago

Okey guys, following instruction to install with current error. After process install, script does not save change from install form. You need:

  1. Go to system->assistans->config.inc.php (write your database connection)
  2. Go to the table users in database and you should have following record by ID 1
    • edit this record, write your username, password (with SHA1 encryption), display_name, email, level_ID (i set by "1" but i dont think so that is work corretly yet(?!))

Then go to your home url scripts and try to log in, should it work.

Question to author, why it dosnt work correctly on WINDOWS (dont need it chmod)

If you guys have any problem with install it mail me (m[at]eche.pl) i will try to help becouse im working on new ver, secretary and repair it to work fine ;)

mikaelstaer commented 7 years ago

What version of PHP are you running? And what version of Secretary??

On Sep 17, 2017 10:07, "motyl1337" notifications@github.com wrote:

Okey guys, following instruction to install with current error. After process install, script does not save change i install form. You need:

  1. Go to system->assistans->config.inc.php (here write your database connection)
  2. Go to the table users in database and you should have following record by ID 1

    • edit this record, write your username, password (with SHA1 encryption), display_name, email, level_ID (i set by "1" but i dont think so that is work corretly yet(?!))

Then go to your home url scripts and try to log in, should it work.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mikaelstaer/The-Secretary/issues/8#issuecomment-330048528, or mute the thread https://github.com/notifications/unsubscribe-auth/AAsWHJQnaJ4bgkO914cUco01mhHtBLbxks5sjSeygaJpZM4ORtO6 .

motyl1337 commented 7 years ago

All of version php what i use does not work. I checked already on:

version 2.4

Does not save data from install form, then cant create user in db becouse dont have data to connect. Windows 10, xamp and mamp (local server)

nibreh commented 7 years ago

Thanks @motyl1337, it's good but there is also others issues to make it work:

Other issue:

Tested with PHP 5.6.9 and Secretary 2.4

motyl1337 commented 7 years ago

Thanks @nibreh, I dont have following problems like you but good to know :) Only that what i said fix a problems what i have after install. In this week I will try to fix all of error and do pull req.

nibreh commented 7 years ago

Maybe I got this errors because my website is HTTPS. Before install, I must change the BASE_URL in install.php to https://.

Cheers.

mikaelstaer commented 7 years ago

I haven't seen errors on HTTPS - will have to test that. Thanks for discovering that.

If there are errors on install, there are actually error messages displayed, it's just that the font colour matches the background (silly, I know). So if you are testing the install again, you could do 'select all' on the page after submitting the form and paste the errors here.

-- Mikael Staer Nathan www.mikaelstaer.com www.staernathan.com 647 240 8685

On 18 September 2017 at 04:27, Juh notifications@github.com wrote:

Maybe I got this errors because my website is HTTPS. Before install, I must change the BASE_URL in install.php to HTTPS.

Cheers.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mikaelstaer/The-Secretary/issues/8#issuecomment-330156517, or mute the thread https://github.com/notifications/unsubscribe-auth/AAsWHIoGsbCwR5NmZp3Twx6B21QKIe_Zks5sjilogaJpZM4ORtO6 .

mikaelstaer commented 6 years ago

I have been running some tests and have found where it is going wrong. I need to do a bit more testing to determine why it works fine on some servers and gives errors on others.

Patch coming soon.

-- Mikael Staer Nathan www.mikaelstaer.com www.staernathan.com 647 240 8685

On 18 September 2017 at 07:33, Mikael Staer Nathan mikaelstaer@gmail.com wrote:

I haven't seen errors on HTTPS - will have to test that. Thanks for discovering that.

If there are errors on install, there are actually error messages displayed, it's just that the font colour matches the background (silly, I know). So if you are testing the install again, you could do 'select all' on the page after submitting the form and paste the errors here.

-- Mikael Staer Nathan www.mikaelstaer.com www.staernathan.com 647 240 8685

On 18 September 2017 at 04:27, Juh notifications@github.com wrote:

Maybe I got this errors because my website is HTTPS. Before install, I must change the BASE_URL in install.php to HTTPS.

Cheers.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mikaelstaer/The-Secretary/issues/8#issuecomment-330156517, or mute the thread https://github.com/notifications/unsubscribe-auth/AAsWHIoGsbCwR5NmZp3Twx6B21QKIe_Zks5sjilogaJpZM4ORtO6 .

mikaelstaer commented 6 years ago

Try the latest install.php Let me know how that goes.

motyl1337 commented 6 years ago

Hej, ive already fix my problem with myself. I ve got ready my portfolio here https://test.eche.pl. If you want i will test it and give you feedback near weekend.

03.10.2017 17:53 "mikaelstaer" notifications@github.com napisał(a):

Try the latest install.php Let me know how that goes.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/mikaelstaer/The-Secretary/issues/8#issuecomment-333886884, or mute the thread https://github.com/notifications/unsubscribe-auth/AMM_GuPuprKHDUtBRai_ZYeI5ZofZ3D4ks5soliEgaJpZM4ORtO6 .

nibreh commented 6 years ago

Try the latest install.php Let me know how that goes.

The install is OK now, no more errors displayed in white, and no more message theme is missing.

But there is always some issues:

1 - I can't LOGIN because the password is not saved in the database users 2 - In global_settings, ID 16, now I got http://https://mysite.com 3 - Must change http to https in BASE_URL to display the CSS for install.php

Cheers

mikaelstaer commented 6 years ago

You will have to wipe the database for each install.

See if that clears up that issue?

On Oct 3, 2017 16:12, "Juh" notifications@github.com wrote:

Try the latest install.php Let me know how that goes.

The install is OK now, no more errors displayed in white, and no more message theme is missing.

But there always some issues:

1 - I can't LOGIN because the password is not save in the database users 2 - In global_settings, ID 16, now I got http://https://mysite.com 3 - Must change http to https in BASE_URL to display the CSS for install.php

Cheers

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mikaelstaer/The-Secretary/issues/8#issuecomment-333963786, or mute the thread https://github.com/notifications/unsubscribe-auth/AAsWHAE2fUfAhw5MxJ7h2fE-EdvxmZW7ks5sopUdgaJpZM4ORtO6 .

nibreh commented 6 years ago

Sorry for my english,

wipe the database

you mean delete all the previous entry/database ? Well I do that, it's a fresh install.

mikaelstaer commented 6 years ago

Yes that's what I meant.

And you still get the login error?

On Oct 3, 2017 16:19, "Juh" notifications@github.com wrote:

Sorry for my english,

wipe the database

you mean delete all the previous entry/database ? Well I do that, it's a fresh install.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mikaelstaer/The-Secretary/issues/8#issuecomment-333965747, or mute the thread https://github.com/notifications/unsubscribe-auth/AAsWHNoKxPHtdY2o4AIttdCkqBo20Rf3ks5sopbMgaJpZM4ORtO6 .

nibreh commented 6 years ago

Yes, I still get the login error