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

Just installed, nice app but... #661

Closed
webzdezign opened this issue Dec 15, 2023 · 16 comments
Closed

Just installed, nice app but... #661

webzdezign opened this issue Dec 15, 2023 · 16 comments

Comments

@webzdezign
Copy link

When I go to edit a post, this happens:
Any suggestions? I've installed on Unbuntu/Apache/PHP 8.3/v2.8.8
Screenshot 2023-12-15 at 01 10 39

@danpros
Copy link
Owner

danpros commented Dec 15, 2023

Please see the server error log. Error 500 is generic error eg. Incorrect file and folder permissions, temporary connectivity issues, corrupted .htaccess file etc. Make sure mod_rewrite installed also.

@webzdezign
Copy link
Author

Please see the server error log. Error 500 is generic error eg. Incorrect file and folder permissions, temporary connectivity issues, corrupted .htaccess file etc. Make sure mod_rewrite installed also.

Thank you for your prompt response. I figured it was a server config error, just didn't know where. It's probably the mod_rewrite, as I haven't gotten to all the server settings yet. I'll try all that and report back.

@webzdezign
Copy link
Author

I loaded the page, clicked edit, and checked the log:
I don't understand this.

[15-Dec-2023 01:54:44 America/Chicago] PHP Warning: Undefined array key -1 in /home/admin_support/public_html/system/admin/views/edit-content.html.php on line 46
[15-Dec-2023 01:54:44 America/Chicago] PHP Fatal error: Uncaught DateMalformedStringException: Failed to parse time string (mgr) at position 0 (m): The timezone could not be found in the database in /home/admin_support/public_html/system/admin/views/edit-content.html.php:51
Stack trace:
#0 /home/admin_support/public_html/system/admin/views/edit-content.html.php(51): DateTime->__construct('mgr')
#1 /home/admin_support/public_html/system/includes/dispatch.php(352): include('/home/admin_sup...')
#2 /home/admin_support/public_html/system/htmly.php(3452): render('edit-content', Array)
#3 /home/admin_support/public_html/system/includes/dispatch.php(516): {closure}('2023', '12', 'support-site')
#4 /home/admin_support/public_html/system/includes/dispatch.php(580): route('GET', '/2023/12/suppor...')
#5 /home/admin_support/public_html/system/htmly.php(3693): dispatch()
#6 /home/admin_support/public_html/index.php(5): require('/home/admin_sup...')
#7 {main}
thrown in /home/admin_support/public_html/system/admin/views/edit-content.html.php on line 51

@webzdezign
Copy link
Author

My server time settings:
Screenshot 2023-12-15 at 02 01 03

@webzdezign
Copy link
Author

Config > General Settings:
Screenshot 2023-12-15 at 02 02 22

@webzdezign
Copy link
Author

Any suggestions?

@danpros
Copy link
Owner

danpros commented Dec 15, 2023

Can you choose another timezone and date format first?

@webzdezign
Copy link
Author

Yes. Should I go blank?

@danpros
Copy link
Owner

danpros commented Dec 15, 2023

Yes and please set the cache and content folder as writeable. Its fine reupload the whole website, or just use online-installer.php.

@webzdezign
Copy link
Author

They are both 777
Screenshot 2023-12-15 at 02 29 42

@webzdezign
Copy link
Author

Yeah, nothing is working.
[15-Dec-2023 02:32:27 America/Chicago] PHP Fatal error: Uncaught DateMalformedStringException: Failed to parse time string (mgr) at position 0 (m): The timezone could not be found in the database in /home/admin_support/public_html/system/admin/views/delete-post.html.php:14 Stack trace: #0 /home/admin_support/public_html/system/admin/views/delete-post.html.php(14): DateTime->__construct('mgr') #1 /home/admin_support/public_html/system/includes/dispatch.php(352): include('/home/admin_sup...') #2 /home/admin_support/public_html/system/htmly.php(3649): render('delete-post', Array) #3 /home/admin_support/public_html/system/includes/dispatch.php(516): {closure}('2023', '12', 'support-site') #4 /home/admin_support/public_html/system/includes/dispatch.php(580): route('GET', '/2023/12/suppor...') #5 /home/admin_support/public_html/system/htmly.php(3693): dispatch() #6 /home/admin_support/public_html/index.php(5): require('/home/admin_sup...') #7 {main} thrown in /home/admin_support/public_html/system/admin/views/delete-post.html.php on line 14

@danpros
Copy link
Owner

danpros commented Dec 15, 2023

Sorry, I can't replicate it, even wrong path of temp/logs folder can cause The timezone could not be found in the database problems.

@webzdezign
Copy link
Author

I removed and reinstalled it. I'm using Softalious if that helps, but it's the same issue. So I'm stuck. I won't be posting much, so I will just be sure not to have to edit or delete a post. :)

@webzdezign
Copy link
Author

Everything else is great By The Way!

@danpros
Copy link
Owner

danpros commented Jan 9, 2024

Is it possible if you use underscore characters for your username? because htmly currently doesn't support it. See #669

@danpros
Copy link
Owner

danpros commented Jan 11, 2024

Please open new issue if you still find the problems in version 2.9.0

@danpros danpros closed this as completed Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants