1
wibni
blank page after upgrade
  • 2008/11/25 7:04

  • wibni

  • Just popping in

  • Posts: 4

  • Since: 2006/8/11


Hi,
I'm trying to upgrade to XOOPS 2.3.1 from 2.0.18. I follow every instruction but receive just a blank page after the upgrade is finished.
Only error during the upgrade is this:
Notice: unserialize() [function.unserialize]: Error at offset 0 of 2 bytes in file /upgrade/cnt-2.2.x-to-2.3.0/index.php line 430

When I switch on debug mode I get a lot of messages like this:
Warning: Smarty::include(c://xampp//htdocs//xampp/xoops_data/caches/smarty_compile/test4-test^%%22^222^222153D0%%db%3Asystem_block_user.html.php) [function.Smarty-include]: failed to open stream: No such file or directory in file /class/smarty/Smarty.class.php line 1262

Warning: Smarty::include() [function.include]: Failed opening 'c://xampp//htdocs//xampp/xoops_data/caches/smarty_compile/test4-test^%%42^428^428512AB%%db%3Asystem_block_mainmenu.html.php' for inclusion (include_path='.;C:/xampp/php/pear/') in file /class/smarty/Smarty.class.php line 1262




2
wibni
Re: edit template to show only at specific URL
  • 2008/11/19 13:32

  • wibni

  • Just popping in

  • Posts: 4

  • Since: 2006/8/11


How to get the code below in my template?
I don't know how to format it with XOOPS tags and plain php it doesn't seem to compile....

$where= basename($_SERVER['PHP_SELF']);
If ($where == "info.php")
echo "true";



3
wibni
edit template to show only at specific URL
  • 2008/11/19 8:57

  • wibni

  • Just popping in

  • Posts: 4

  • Since: 2006/8/11


Hi,

I'd like to edit a pical template to only show in the center block of my website if the URL is:http://mydomain/modules/content/index.php?id=37.

I'm using the XOOPS content module.
With blocks unfortunately I can only select a whole module to either show a block or hide it.
All my site content is in that content module, but only the entry with ID=37 should show the pical template.

Any suggestions on how to do that?

<{IF url ==http://mydomain/modules/content/index.php?id=37}>
show content...



4
wibni
enable news notifiaction as per default for new users
  • 2008/4/2 9:16

  • wibni

  • Just popping in

  • Posts: 4

  • Since: 2006/8/11


Xoops 2.0.13

Hi,

I'm trying to get notifications as per default working for every new user who registers on our website.
New users shouldn't have to select the checkbox for notifications first.

Right now I've got the SQL command below which I run before I enter any new event items. It basically sets the notification for every user it can find.
Which file would I be looking for and what do I need to change to get it working?

insert into `xoops_xoopsnotifications`
(not_modid, not_itemid, not_category, not_event, not_uid, not_mode)
select 2, 0, 'global', 'new_event', uid, 0
from xoops_users

Cheers,
wibni




TopTop



Login

Who's Online

214 user(s) are online (135 user(s) are browsing Support Forums)


Members: 0


Guests: 214


more...

Donat-O-Meter

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

Latest GitHub Commits