logo

Member
Member
Offline Offline
Posts: 22
Problem with signing in for the first time [Fixed]

get this when i tried to sign in after installing.

Warning: include(themes//theme-functions.php) [function.include]: failed to open stream: No such file or directory in /home2/templat7/public_html/themes/index.php on line 20

Warning: include() [function.include]: Failed opening 'themes//theme-functions.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/templat7/public_html/themes/index.php on line 20

Fatal error: Call to undefined function theme_title() in /home2/templat7/public_html/themes/Layouts/Pages.php on line 26

that's all that shows now
eoCMS Developer
eoCMS Developer
Offline Offline
avatar
Posts: 242
banancanardbanancanard@live.com
Re: Problem with signing in for the first time.

A few things to try:
1) Redownload the cms from Here.
2) Make sure all the files are uploaded first.

if this doesnt work, post back here and ill try and figure something else out as I can not replicate your problem.

"Control yourself. Take only what you need from it"
http://mrrsm.com
eoCMS Developer
eoCMS Developer
Offline Offline
avatar
Posts: 1528
Re: Problem with signing in for the first time.

Ok i think i have fixed it. 2 ways to fix it, manually go into the database and set the column theme to default for your username in the users table.
The proper fix is as follows
Open index.php
Find
Code:
elseif(!isset($_SESSION['theme'])) {
   include'themes/' . $settings['site_theme'] . '/theme-functions.php';
    }

Replace with
Code:
    if(!isset($_SESSION['theme']) || empty($_SESSION['theme'])) {
   include'themes/' . $settings['site_theme'] . '/theme-functions.php';
    }

Please do not PM me requesting support or anything, use the forums, thats what they are here for

Jump to:


0.05 seconds Queries: 14