1
Poslanik
MyAlbum-P
  • 2005/11/6 14:31

  • Poslanik

  • Just popping in

  • Posts: 95

  • Since: 2005/2/11


Hi there,

I'm getting some errors after I installed MyAlbum-P.

First of all I get these messages on my index page.

Warning [PHP]: main() [function.main]: open_basedir restriction in effectFile(/usr/lib/php/include/get_perms.phpis not within the allowed path(s): (/mntin file modules/myalbum/xoops_version.php line 112
Warning 
[PHP]: main(include/get_perms.php) [function.main]: failed to open streamOperation not permitted in file modules/myalbum/xoops_version.php line 112
Warning 
[PHP]: main() [function.include]: Failed opening 'include/get_perms.php' for inclusion (include_path='.:/usr/lib/php'in file modules/myalbum/xoops_version.php line 112
Notice 
[PHP]: Undefined variableglobal_perms in file modules/myalbum/xoops_version.php line 113
Notice 
[PHP]: Undefined variableglobal_perms in file modules/myalbum/xoops_version.php line 121


Second thing, when I hit the link to MyAlbum in the main menu I get this:


Fatal errorOnly variables can be passed by reference in /mnt/storage/users/x/o/o/xoopss/modules/myalbum/index.php on line 50


The above error happened before with some other modules.

2
DCrussader
Re: MyAlbum-P

And this is reported on which XOOPS, 2.0 or 2.2 ?

Probably on 2.2.3a, cos by default PHP Debuger is enabled, PHP Notice: (Not means fatal error, and your work can continue without problems, just go to administration/system/preferences and turn debugger off)

Second create one file called .htaccess inside your xoops_root with the following lines:

php_flag allow_url_fopen On
php_flag safe_mode On


MyAlbum 2.90 (2.86) work perfect on 2.2.3a.
May The Source Be With You!

3
Poslanik
Re: MyAlbum-P
  • 2005/11/8 15:01

  • Poslanik

  • Just popping in

  • Posts: 95

  • Since: 2005/2/11


Thanks for posting :) But could you please tell me what's the full name + extension of this file I'm sopposed to make? I had it somewhere but deleted it (don't remember why) and I can't remember.

Is it just .htaccess?

4
banesto
Re: MyAlbum-P
  • 2005/11/8 16:08

  • banesto

  • Just popping in

  • Posts: 61

  • Since: 2005/1/24


there's no file name, just an extension .htaccess
where's my red bull!

5
toocan
Re: MyAlbum-P
  • 2005/11/8 23:13

  • toocan

  • Just popping in

  • Posts: 1

  • Since: 2003/6/22


This FATAL is a reference-problem in smarty.

To solve this problem you have to delete the '&' before the $value in /class/smarty/Smarty.class.php at line 648.

(it only occurs in PHP5)

change this:

LINE 648:    function append_by_ref($tpl_var, &$value$merge=false)


to that:

LINE 648:    function append_by_ref($tpl_var$value$merge=false)


So far ... toocan.

6
Poslanik
Re: MyAlbum-P
  • 2005/11/9 19:08

  • Poslanik

  • Just popping in

  • Posts: 95

  • Since: 2005/2/11


Thanks to everyone, it's working now.

Login

Who's Online

225 user(s) are online (154 user(s) are browsing Support Forums)


Members: 0


Guests: 225


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