1
asche
Re: Error in group privileges: Only variables should be assigned by reference in file . main.php line 70
  • 2008/3/29 11:01

  • asche

  • Not too shy to talk

  • Posts: 116

  • Since: 2004/4/5 9


I changed from
# $group = $member_handler->getGroup($g_id);
to
$group = $member_handler->getGroup($g_id);
and still get Error Access denied -> as both lines have same syntax.

the syntax "=& xoops" I only find 1 line above in: $member_handler =& xoops_gethandler('member');
... but that is different from your advice (I removed the "&" there as well but still same error)



2
asche
Re: Error in group privileges: Only variables should be assigned by reference in file . main.php line 70
  • 2008/3/29 10:47

  • asche

  • Not too shy to talk

  • Posts: 116

  • Since: 2004/4/5 9


more errors that might be related to "main.php line 70
" when trying to edit and save group privileges as described above

just calling system/admin.php?fct=groups (not trying to edit and save).....
.... shows following errors:
Notice: Only variables should be assigned by reference in file /modules/system/admin/groups/groups.php line 45
Notice: Only variables should be assigned by reference in file /kernel/module.php line 550
Notice: Only variables should be assigned by reference in file /kernel/module.php line 550

... found XOOPS posting on error "module.php line 550 "
https://xoops.org/modules/newbb/viewtopic.php?topic_id=62964&forum=4&post_id=283575
... where you advised:
You may change php.ini -> should I try?
allow_call_time_pass_reference = On
or check SVN:
http://xoops.svn.sourceforge.net/view ... ps?view=rev&revision=1290

Maybe I have a PHP-version problem?
PHP Version on surpass is only 4.4.6 -> is that a problem?
local PHP is OtSTriad 1.4 - Apache 2.2.2/PHP 5.1.4
php-version problem because when I login with admin locally administration menue is not displayed -> just loops back to startsite -> that happens with existing 2.0.18 dir run against a newly installed db.



3
asche
Re: Error in group privileges: Only variables should be assigned by reference in file . main.php line 70
  • 2008/3/29 10:27

  • asche

  • Not too shy to talk

  • Posts: 116

  • Since: 2004/4/5 9


I downloadedhttp://xoops.svn.sourceforge.net/view ... ps?view=rev&revision=1403

but now I get Error "Access Denied" when calling ../system/admin.php?fct=groups (../htdocs/admin.php is still o.k. with user admin).

Do I have to adjust the downloaded system/admin/groups/main.php file?

I will try to find more specific errors and try to do the "official" upgrade (from 2.0.7) to 2.0.18 ...

thanks for the first shot with system/admin/groups/main.php.



4
asche
Error in group privileges: Only variables should be assigned by reference in file . main.php line 70
  • 2008/3/29 8:39

  • asche

  • Not too shy to talk

  • Posts: 116

  • Since: 2004/4/5 9


I "sort of upgraded" from XOOPS 2.0.7 to 2.0.18 and have following ERROR when trying to save changes on admin page for groups on modules/system/admin.php?fct=groups&op=modify&g_id=1

Error:
Notice: Only variables should be assigned by reference in file /modules/system/admin/groups/main.php line 70

Upgrade to 2.0.18 was done by installing 2.0.18 in new directory and new db. Then I "sort of added/replaced" all files - that were not present in 2.0.18 - from old system 2.0.7 and transferred content of databse in new 2.0.18 db.
I did not implement any upgrade files.

Problem is, that module article management system (AMS) does not show, even it is installed all right and on modules/system/admin.php?fct=groups&op=modify&g_id=1 the privileges for module AMS are set all right. But when I try to save privileges, the error shows up: "Notice: Only variables should be assigned by reference in file /modules/system/admin/groups/main.php line 70". When I call admin.php for groups again, the privileges are still set, but AMS just does not show up.

As 2.0.18 is running with less errors thean 2.0.7 I'd like to find a solution for this problem, because I need AMS module.



5
asche
XOOPS is ranked 1st in CMS Matrix
  • 2006/4/8 10:04

  • asche

  • Not too shy to talk

  • Posts: 116

  • Since: 2004/4/5 9


XOOPS is one of the best ranking CMS in CMS Matrix

Rankings in Categories in 04.08.06:
1st in System Requirements
2nd in Built-in Applications and Support
3rd in Security
...
11th in Ease of Use

this is good news for XOOPS being recognized as one of the leading opensource CMS.

source:
www.cmsmatrix.org

ps:
please move this post or publish as news -> i posted in roadmap to add news about a milestone in terms of recognition of XOOPS.



6
asche
Re: 404 Not Found error - The requested URL /~user/~user/.... was not found on this server.
  • 2005/6/25 22:17

  • asche

  • Not too shy to talk

  • Posts: 116

  • Since: 2004/4/5 9


I still have this problem with XOOPS lookin for a directory path containing two times the username of my account (even I am using a new account now with a newly installed XOOPS and database, tables from old db imported in new db).

Not Found
The requested URL html/modules/newbb/admin/admin_forum_manager.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


I would be very happy about info about this "double username" (my own guess: it has something to do with confi options?).



7
asche
Re: Problem with newbb 2.0 Update under Xoops
  • 2005/6/25 22:05

  • asche

  • Not too shy to talk

  • Posts: 116

  • Since: 2004/4/5 9


I am also using newbb 2.0 (german verson) and get a similar error as Kasim (that is whyI post in this thread here)
Warning [PHP]: Cannot modify header information - headers already sent by (output started at /home/volbeg/public_html/html/mainfile.php:104) in file modules/newbb/include/functions.php line 373

same error as Kasim:
... functions.php line 373

different error compared to Kasim:
... mainfile.php:104 instead of config.php:68

somebody knows?



8
asche
Re: failed to open stream headers and footers - exactly the same problem
  • 2005/6/21 15:17

  • asche

  • Not too shy to talk

  • Posts: 116

  • Since: 2004/4/5 9


all right, jus like with jensclas the error Quote:
appears to have resolved itself
.

But my original problem, that appeared when I changed XOOPS_URL from ip to domainname in mainfile.php still occurs.

Please see error 404 Not Found error - The requested URL /~user/~user/.... was not found on this server.
here



9
asche
Re: 404 Not Found error - The requested URL /~user/~user/.... was not found on this server.
  • 2005/6/21 15:10

  • asche

  • Not too shy to talk

  • Posts: 116

  • Since: 2004/4/5 9


here we go again:
right now I have domain name in maifile.php and - setting the notification-options for a posting - run into this error:

Undefined offset: 2 in file include/notification_update.php line 77
The requested URL /~user/~user/html/modules/newbb/viewtopic.php was not found on this server.

Ha ow come that this error appears with domain name in mainfile.php?

Why I dont want to change back to ip in mainfile.php?
a) the ip shows up in the url
b) user are upset with receiving errors claiming they have no rights to open a posting (this error in combination with ip in mainfile.php is described here:
Quote:
It may be a conflict problem between the registered XOOPS Site URL and your browsers actual URL at logon time.


So somebody knows where this "double username" /~user/~user/ comes from even my mainfile shuld be all right?
define 'XOOPS_ROOT_PATH', '/home/username/public_html/html');
define('XOOPS_URL', 'http://www.mobilfunk-volksbegehren.de/html');



10
asche
Re: Multibrowserproblem ? - "you dont have the privileges to enter this forum".
  • 2005/6/21 8:51

  • asche

  • Not too shy to talk

  • Posts: 116

  • Since: 2004/4/5 9


hi monty, I am still struggeling ... and now seem to have an (additional) error after changing mainfile.php.

pleas see here




TopTop
(1) 2 3 4 ... 12 »



Login

Who's Online

192 user(s) are online (94 user(s) are browsing Support Forums)


Members: 0


Guests: 192


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