Initial Installation Error
This topic contains 8 replies, has 3 voices, and was last updated by Guust 9 years, 2 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
March 20, 2017 at 8:56 pm #368720
Clean WordPress Install. No other plugins.
Warning: session_start(): user session functions not defined in /srv/bindings/4f39a1f7816543bca1e65735836035bc/code/wp-content/plugins/geodirectory/geodirectory-functions/geodir-class-session.php on line 280 Fatal error: session_start(): Failed to initialize storage module: user (path: ) in /srv/bindings/4f39a1f7816543bca1e65735836035bc/code/wp-content/plugins/geodirectory/geodirectory-functions/geodir-class-session.php on line 280
March 20, 2017 at 10:02 pm #368732It looks like this is an issue with permissions on the /tmp folder used for session data. Working on it now with my host.
March 20, 2017 at 10:03 pm #368733I was about to say that it seems a server issue.
I also alerted one of the developers to your question, he might be able to give some pointers too.Thanks
March 20, 2017 at 10:34 pm #368736Here is the response from Pantheon.io
—-
Hi Christian,
Sorry, that’s not possible to change the /tmp directory permission, as it is globally used by the system.
I suggest to take a look or ask wpgeodirectory author how to change the target path of the temp directory.
I suggest using wp-config/uploads/private/tmp instead.
Again, I’m very sorry that we cannot alter the permission for you.
All the best,
AlbertMarch 21, 2017 at 12:12 am #368738Can you install any other plugins? Or do they give the same problem? If so, you can upload the files using FTP, or find another server.
ThanksMarch 21, 2017 at 6:43 am #368755Hi Christian,
To get work PHP sessions on site you should have session save path writable.
So to fix this session problem:
Either you have to make session.save_path writable
OR
Add following line to your wp-config.php, it will use WP_Session instead of PHP sessions, within entire GeoDirectory + GeoDirectory Addons.define( ‘GEODIR_USE_PHP_SESSIONS’, false );
Let us know.
Thanks,
KiranMarch 21, 2017 at 4:38 pm #368873Yes, other plugins will install and work. I have multiple sites on Pantheon and many of them have multiple plugins. This is the first issue of this type I have had with a plugin on Pantheon.
I tried adding the config file setting and received a new error.
Notice: Use of undefined constant ‘GEODIR_USE_PHP_SESSIONS’ – assumed ‘‘GEODIR_USE_PHP_SESSIONS’’ in /srv/bindings/4f39a1f7816543bca1e65735836035bc/code/wp-config.php on line 151 Warning: session_start(): user session functions not defined in /srv/bindings/4f39a1f7816543bca1e65735836035bc/code/wp-content/plugins/geodirectory/geodirectory-functions/geodir-class-session.php on line 280 Fatal error: session_start(): Failed to initialize storage module: user (path: ) in /srv/bindings/4f39a1f7816543bca1e65735836035bc/code/wp-content/plugins/geodirectory/geodirectory-functions/geodir-class-session.php on line 280
If I can get this working and demo it to my client then they will buy the subscription package.
March 21, 2017 at 4:59 pm #368887I was able to solve the issue by installing this plugin:
March 21, 2017 at 10:35 pm #368962Thanks for letting us know that it is fixed.
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket