Welcome to Geeklog, Anonymous Tuesday, December 03 2024 @ 12:53 pm EST

Geeklog Forums

Problem install


adek

Anonymous
Trying to install geeklog, I keep getting "Unfortunately, an error has occurred rendering this page. Please try again later."

When I try to reinstall I get a message

"An installed Geeklog database already exists. The installer will not allow you to run a fresh install on an existing Geeklog database. To continue you must do one of the following:

Delete the tables from the existing database. Or simply drop the database and recreate it. Then click "Retry" below.
Perform an upgrade on your database (to a newer Geeklog version) by selecting the "Upgrade" option below.
"

When I delete the database, the message comes back
 Quote

Status: offline

Laugh

Site Admin
Admin
Registered: 09/27/05
Posts: 1470
Location:Canada
Hi adek,

Sorry to hear you are having issues.

I have a few questions to better assess your problem

Does your web host meet the Geeklog minimum requirements?

See the install documentation included for this information or the Geeklog Wiki.

When does the error happen? Does the Geeklog error.log file have any further details?

The error log is found under the logs directory.
One of the Geeklog Core Developers.
 Quote

adek

Anonymous
Quote by: Laugh

Hi adek,

Sorry to hear you are having issues.

I have a few questions to better assess your problem

Does your web host meet the Geeklog minimum requirements?

See the install documentation included for this information or the Geeklog Wiki.

When does the error happen? Does the Geeklog error.log file have any further details?

The error log is found under the logs directory.



Does your web host meet the Geeklog minimum requirements?

Yes is the newest PHP 8.1...


When does the error happen? Does the Geeklog error.log file have any further details?


After step 2

The error log is found under the logs directory

I paste:

*** dummy entry ***
Tue Nov 29 07:23:57 2022 - 89.234.198.133 - E_WARNING(2) - PHP Startup: open(/tmp/sess_0otfq2okj8juab5aorhp42hr38aaid9mkulb22ti, O_RDWR) failed: No such file or directory (2) @ /adekgee/system/classes/Session.php line 287
 Quote

Status: offline

Laugh

Site Admin
Admin
Registered: 09/27/05
Posts: 1470
Location:Canada
It seems PHP sessions are not properly configured on your server. It’s probably an issue with folder privileges where temporary PHP session files are kept. PHP can't access the tmp directory. This is just an educated guess.

It looks like you need to check your php settings and make sure the setting

session.save_path

points to a directory that exists and that your version of PHP you are using (servers can have more than 1 version) can read and write to it (has the proper permissions).

It's hard to tell you how to do this as every hosting environment is different. If you are not sure you may have to contact your hosting support.
One of the Geeklog Core Developers.
 Quote

adek

Anonymous
Quote by: Laugh

It seems PHP sessions are not properly configured on your server. It’s probably an issue with folder privileges where temporary PHP session files are kept. PHP can't access the tmp directory. This is just an educated guess.

It looks like you need to check your php settings and make sure the setting

session.save_path

points to a directory that exists and that your version of PHP you are using (servers can have more than 1 version) can read and write to it (has the proper permissions).

It's hard to tell you how to do this as every hosting environment is different. If you are not sure you may have to contact your hosting support.



Hi
My hosting try to install and it throws them a message of this type


'Your Composer dependencies require a PHP version \">= 5.6.4\". You are running ' . PHP_VERSION . '.';\r\n}\r\n\r\nif ($issues) {\r\n if (!headers_sent()) {\r\n header('HTTP/1.1 500 Internal Server Error'Wink;\r\n }\r\n if (!ini_get('display_errors'Wink) {\r\n if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg'Wink {\r\n fwrite(STDERR, 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . implode(PHP_EOL, $issues) . PHP_EOL.PHP_EOL);\r\n } elseif (!headers_sent()) {\r\n echo 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . str_replace('You are running '.PHP_VERSION.'.', '', implode(PHP_EOL, $issues)) . PHP_EOL.PHP_EOL;\r\n }\r\n }\r\n trigger_error(\r\n 'Composer detected issues in your platform: ' . implode(' ', $issues),\r\n E_USER_ERROR
 Quote

Status: offline

Laugh

Site Admin
Admin
Registered: 09/27/05
Posts: 1470
Location:Canada
It seems like you were getting much closer than they are. Did you follow up on my suggestions?

I'm not sure what your host is trying to do. That code looks to be from Composer which a very popular library that is in charge of loading in other libraries Geeklog requires. It looks like it can't even detect the PHP version but it is impossible to figure out as I would need to know information about the server they are trying to install it on along where exactly it failed during the install process.

With your error it at least appears the install has maybe finished and it is attempting to load a page in Geeklog.
One of the Geeklog Core Developers.
 Quote

All times are EST. The time is now 12:53 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content