1
jobiwan
Blank Page after Installation
  • 2003/10/3 0:25

  • jobiwan

  • Just popping in

  • Posts: 5

  • Since: 2003/10/1


Enabled debugging and get only one error...but cannot see the fix?!

This is on upgrade to 2.0.4

"Fatal error: Call to a member function on a non-object in /var/users/jobiwan/frenzi.co.nz/htdocs/header.php on line 132"

Line 130-137 read:

foreach (array_keys($block_arr) as $i) {
$bcachetime = $block_arr[$i]->getVar('bcachetime');
if (empty($bcachetime)) {
$xoopsTpl->xoops_setCaching(0);
} else {
$xoopsTpl->xoops_setCaching(2);
$xoopsTpl->xoops_setCacheTime($bcachetime);
}



2
281266
Re: Blank Page after Installation
  • 2003/10/5 20:14

  • 281266

  • Just popping in

  • Posts: 14

  • Since: 2003/10/5


... I have also a blank page after a totally fresh (no upgrade) installation of XOOPS 2.04.

Version 2.03 worked fine before.

How does that come?


3
281266
Re: Blank Page after Installation
  • 2003/10/5 20:48

  • 281266

  • Just popping in

  • Posts: 14

  • Since: 2003/10/5


... I succeeded now. In my first attempt, I uploaded the zip file and did not check the permissions in the required directories/files (as required in the install menu).

I now copied the tar version of 2.04, changed the permission levels in the files and directories as required in the install menu and now it works :)

4
mhanford
Re: Blank Page after Installation
  • 2003/10/8 18:23

  • mhanford

  • Just popping in

  • Posts: 1

  • Since: 2003/10/8


I had the same problem, mostly because I read the instructions on the install script literally. When it said to make the uploads, templates_c, and cache directories readable by all, I did so by chmodding them to 766. The
install script then gave me the green light to proceed.

However, what really was needed was a chmod to 777 on those
directories. After I did that, everything worked fine.

Really, the install script should check for 777 permissions, and not simply that those three directories are writeable.

My mistake, but fortunately it only took me about half an hour to figure out.

5
JonArbuckle
Re: Blank Page after Installation
  • 2003/10/9 3:21

  • JonArbuckle

  • Just popping in

  • Posts: 3

  • Since: 2002/9/29


Dear All,

I install 2.0.5 from brand new virtual hosting,
set template_c, cache, and upload to 777, mainfile to 777 too.

brand new database, it look all ok.
enable php debug, then

When I install Contact Module, those messege show: no error, but ...

Warning [PHP]: unlink(/home/crm121/public_html/cache/db%3Acontact_contactusform.html): No such file or directory in file class/smarty/Smarty.class.php line 2209
Warning [PHP]: unlink(/home/crm121/public_html/templates_c/db%3Acontact_contactusform.html): No such file or directory in file class/smarty/Smarty.class.php line 2209
Notice [PHP]: Undefined index: contactform in file templates_c/db%3Acontact_contactusform.html line 4
Notice [PHP]: Undefined index: contactform in file templates_c/db%3Acontact_contactusform.html line 6
Notice [PHP]: Undefined index: contactform in file templates_c/db%3Acontact_contactusform.html line 7
Notice [PHP]: Undefined index: contactform in file templates_c/db%3Acontact_contactusform.html line 8
Notice [PHP]: Undefined index: contactform in file templates_c/db%3Acontact_contactusform.html line 9
Notice [PHP]: Undefined index: contactform in file templates_c/db%3Acontact_contactusform.html line 13
Notice [PHP]: Undefined index: contactform in file templates_c/db%3Acontact_contactusform.html line 17

WHen I install News Module, there become blank page as show me the messege as below:

Warning [PHP]: unlink(/home/crm121/public_html/cache/db%3Anews_archive.html): No such file or directory in file class/smarty/Smarty.class.php line 2209
Warning [PHP]: unlink(/home/crm121/public_html/templates_c/db%3Anews_archive.html): No such file or directory in file class/smarty/Smarty.class.php line 2209
Error [Xoops]: Smarty: [in db:news_archive.html line 27]: syntax error: invalid attribute name: 'even,>' (Smarty_Compiler.class.php, line 1334) in file class/smarty/Smarty_Compiler.class.php line 1824

I've set template_c, cache, and upload as 777, I even set mainfile as 777 too.
but problem still exist.

Anything I can do for further check?

Regards,

Login

Who's Online

203 user(s) are online (132 user(s) are browsing Support Forums)


Members: 0


Guests: 203


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits