Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Support

Rocket Theme Admin Error (E_WARNING)

Started by K64 8 years ago · 7 replies · 1308 views
8 years ago

Grav Error:

Whoops \ Exception \ ErrorException (E_WARNING)
Unknown: open(/home/content/86/4795186/tmp/sess_t3tjo8rujpc7tgccko2bujaod3, O_RDWR) failed: No such file or directory (2)

RocketTheme File Causing The Error?
/home/content/86/4795186/html/godaddy-subdirectory/grav-admin/vendor/rockettheme/toolbox/Session/src/Session.php

How do I fix this?

*NOTE: Grav will be hosted on GoDaddy in a subdirectory.

I'm trying to avoid WP as much as possible... tired of the whack-a-hacker game!

last edited 07/10/18 by K64
8 years ago

I have tried creating the missing /tmp/ directory, but the fix was unsuccessful thus far. Any Ideas?

8 years ago

Do I need to switch to another flat file CMS for support?

8 years ago

I even did a test w/ Just the Grav Core vs Grav core + Admin plugin:
Both admins were broken, wanting the RocketTheme.

Any Ideas?

8 years ago

I think, like me, a few people would love to help you get Grav up and running but are confused by your question. Could you provide more information about what you set up leading up to this point? It's a fantastic and supportive community here, but we get a little tired of having to second guess the nature of problems.

You have provided some detail I see, and I was hoping this would be clearer to others if not me.

8 years ago

Thanks for the first response. Does this help?
I have tired fixing it myself, but none were successful.

/home
/content
/86
/4795186
/html
/godaddy-subdirectory
/grav
/vendor
/rockettheme
/toolbox
/Session
/src
/Session.php

PHP
            throw new \RuntimeException("Session hasn't been initialized.", 500);
        }

        return self::$instance;
    }

    /**
     * Starts the session storage
     *
     * @return $this
     * @throws \RuntimeException
     */
    public function start()
    {
        // Protection against invalid session cookie names throwing exception: http://php.net/manual/en/function.session-id.php#116836
        if (isset($_COOKIE[session_name()]) && !preg_match('/^[-,a-zA-Z0-9]{1,128}$/', $_COOKIE[session_name()])) {
            unset($_COOKIE[session_name()]);
        }

        if (!session_start()) {
            throw new \RuntimeException('Failed to start session.', 500);
        }

        $this->started = true;

        return $this;
    }

    /**
     * Get session ID
     *
     * @return string Session ID
     */
    public function getId()
    {
        return session_id();
    }

    /**
     * Set session Id

Arguments

TXT
"session_start(): open(/home/content/86/4795186/tmp/sess_dmam3e3u68ej2s5l8trpai1ht5, O_RDWR) failed: No such file or directory (2)"
8 years ago

Have to admit, I'm still very confused. I hope someone else can follow. Your folder hierarchy looks very flat and strange to me. Did it format correctly?

8 years ago

Found the problem with GoDaddy… “Legacy Hosting” w/ outdated php version. Grav CMS is now working since everything was updated… (*Need to add PHP Zip Support under [Select PHP version] in cPanel).

last edited 07/27/18 by K64

Suggested topics

Topic Participants Replies Views Activity
Support · by Thomas, 1 week ago
3 94 3 hours ago
Support · by Anna, 3 days ago
2 94 24 hours ago
Support · by Justin Young, 1 day ago
1 64 1 day ago
Support · by Duc , 1 week ago
2 100 6 days ago
Support · by Colin Hume, 1 week ago
2 91 6 days ago