Initial Installation Error

This topic contains 8 replies, has 3 voices, and was last updated by  Guust 8 years, 5 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #368720

    Christian Wert
    Free User
    Post count: 8

    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

    #368732

    Christian Wert
    Free User
    Post count: 8

    It looks like this is an issue with permissions on the /tmp folder used for session data. Working on it now with my host.

    #368733

    Guust
    Moderator
    Post count: 29970

    I 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

    #368736

    Christian Wert
    Free User
    Post count: 8

    Here 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,
    Albert

    #368738

    Guust
    Moderator
    Post count: 29970

    Can 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.
    Thanks

    #368755

    Kiran
    Moderator
    Post count: 7069

    Hi 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,
    Kiran

    #368873

    Christian Wert
    Free User
    Post count: 8

    Yes, 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.

    #368887

    Christian Wert
    Free User
    Post count: 8

    I was able to solve the issue by installing this plugin:

    https://wordpress.org/plugins/wp-native-php-sessions/

    #368962

    Guust
    Moderator
    Post count: 29970

    Thanks for letting us know that it is fixed.

Viewing 9 posts - 1 through 9 (of 9 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount