logo

Member
Member
Offline Offline
Posts: 17
generalvegitable
error after installation

hi

i installed eoCMS to test on my site in a /beta folder, it appeared to install fine, but afterwards i get the following errors:
Code:
Warning: include(themes//theme-functions.php) [function.include]: failed to open stream: No such file or directory in /www/110mb.com/g/e/n/e/r/a/l/-/general-vegitable/htdocs/beta/index.php on line 20

Warning: include(themes//theme-functions.php) [function.include]: failed to open stream: No such file or directory in /www/110mb.com/g/e/n/e/r/a/l/-/general-vegitable/htdocs/beta/index.php on line 20

Warning: include() [function.include]: Failed opening 'themes//theme-functions.php' for inclusion (include_path='.:/usr/share/php') in /www/110mb.com/g/e/n/e/r/a/l/-/general-vegitable/htdocs/beta/index.php on line 20

Fatal error: Call to undefined function theme_title() in /www/110mb.com/g/e/n/e/r/a/l/-/general-vegitable/htdocs/beta/Layouts/Pages.php on line 26


i think it might be a bug, or it could be something to do with the double slash

general veg woz ere
eoCMS Developer
eoCMS Developer
Offline Offline
avatar
Posts: 1528
Re: error after installation

oh thats a bug. Um i posted a fix somewhere...
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
eoCMS Developer
eoCMS Developer
Offline Offline
avatar
Posts: 1528
Re: error after installation

strange bbcode isnt working Sad

Please do not PM me requesting support or anything, use the forums, thats what they are here for
Member
Member
Offline Offline
Posts: 17
generalvegitable
Re: error after installation

i cannot find the php in the index file

edit: if it helps, i got the version yesterday

general veg woz ere
eoCMS Developer
eoCMS Developer
Offline Offline
avatar
Posts: 1528
Re: error after installation

It is in there, its at the top of index.php, for some reason the bbcode isnt formatting right i dont know why, tbh i might make my own...

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

Jump to:


0.1 seconds Queries: 13