Login problem

11 views
Skip to first unread message

Newark Museum

unread,
Jul 8, 2011, 3:20:19 PM7/8/11
to Dashboard Discussion
I can setup users but when they login to change the password all you
see are two tabs with nothing in them. It remembers the password so I
can login but I can't change the password.

Thank you;
Raymond

Charlie Moad

unread,
Jul 8, 2011, 3:26:01 PM7/8/11
to museum-dashb...@googlegroups.com
If the forms are missing then you might still have a PHP related issue. Try checking the logs for errors.

- Charlie

Thank you;
Raymond

--
You received this message because you are subscribed to the Google Groups "Dashboard Discussion" group.
To post to this group, send email to museum-dashb...@googlegroups.com.
To unsubscribe from this group, send email to museum-dashboard-d...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/museum-dashboard-discuss?hl=en.

________________________________

This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact Charlie Moad by reply email and destroy all copies of the original message.

zzwebmaster

unread,
Jul 8, 2011, 3:34:04 PM7/8/11
to museum-dashb...@googlegroups.com
This is the error I am getting:

Parameter 2 to userreference_user() expected to be a reference, value
given in /home/newarkda/public_html/includes/module.inc on line 386

Raymond

Charlie Moad

unread,
Jul 8, 2011, 4:44:40 PM7/8/11
to museum-dashb...@googlegroups.com
Pass by reference errors are a huge problem for the PHP5.2 to 5.3 upgrade. You might have to update the userreference module or attempt to correct the problem in the existing module.

zzwebmaster

unread,
Jul 8, 2011, 4:47:05 PM7/8/11
to museum-dashb...@googlegroups.com
Is the module on Drupal's site?

Charlie Moad

unread,
Jul 8, 2011, 5:58:47 PM7/8/11
to <museum-dashboard-discuss@googlegroups.com>
It looks like that module is part of the CCK 5 module which hasn't been touched since November 2008. Unfortunately you'll need to fix the line where the problem is. It should just be a matter of adding a "&" to the front of the second argument of the function that's causing the error.

- Charlie

zzwebmaster

unread,
Jul 11, 2011, 10:39:13 AM7/11/11
to museum-dashb...@googlegroups.com
Below is the code from the module.inc file the error is on line 386 I am
not sure where the "&" would go.


380 function module_invoke() {
381 $args = func_get_args();
382 $module = array_shift($args);
383 $hook = array_shift($args);
384 $function = $module .'_'. $hook;
386 if (module_hook($module, $hook)) {
386 return call_user_func_array($function, $args);
388 }
389 }

zzwebmaster

unread,
Jul 13, 2011, 10:53:49 AM7/13/11
to museum-dashb...@googlegroups.com
Does anyone have any ideas on how to fix this?

Also the boxes are not displaying correctly. Please take a look
www.nndashboard.org

Thank you;

Richard Urban

unread,
Jul 13, 2011, 11:15:01 AM7/13/11
to museum-dashb...@googlegroups.com
Hi Raymond,

I wasn't able to see your dashboard, but had a similar problem when I first got going.

Charlie's response then was:

"Check "http://<your-site>/admin/settings/site-information". Is the
"Default front page" set to "dashboard"?

I should also mention that the view that drives "dashboard" shows all
dashboard nodes with a taxonomy term of "Highlights". Make sure your
nodes have this term assigned in order to see them on the front page.

- Charlie "

Richard Urban, Doctoral Candidate
Graduate School of Library & Information Science
University of Illinois at Urbana-Champaign
rju...@illinois.edu
http://www.richardurban.net

zzwebmaster

unread,
Jul 13, 2011, 11:29:11 AM7/13/11
to museum-dashb...@googlegroups.com
Thank you very much that solved the display issue!!!!

Now my login problem.

Thank you everyone for your help.

Charlie Moad

unread,
Jul 13, 2011, 12:03:11 PM7/13/11
to museum-dashb...@googlegroups.com
You'll need to find the piece of code that calls "userreference_user" through the "module_invoke" function. Hence, look in the CCK modules for calls to "module_invoke". I'll admit this is hairy to track down, and I unfortunately won't have time in the near future to devote to this. This is the first we've ran into a real support problem with Drupal 5, so it will be up to the community to manage these fixes.

zzwebmaster

unread,
Jul 13, 2011, 1:30:30 PM7/13/11
to museum-dashb...@googlegroups.com
One other question. When a user visits the site I get a big user login
box. But when I look at your site the login info is at the bottom of
the page is there a way to turn this off?

Also are you using the Fusion Charts? If so how do you call the carts?
Do you have an example of the backend info?

zzwebmaster

unread,
Jul 13, 2011, 1:47:13 PM7/13/11
to museum-dashb...@googlegroups.com
Also looking for that issue is like looking for a needle in a hay stack.
Many files are "include" files so the "386" error is the line number
from the compiled page that is sent to the user. This could very well
be line number 15 in another file.

I looked in the CCK folder and the only file that contains
"module_invoke" is content_admin.inc file. None of the lines of code
that reference "module_invoke" look like they would need an "&"

Charlie Moad

unread,
Jul 13, 2011, 4:22:01 PM7/13/11
to museum-dashb...@googlegroups.com
You should set the frontpage of the site to "dashboard" like Richard suggested. This should hide any login box in the main content.

The current dashboard software has no integrated charting. All charting you see on other sites is custom code in a "Non-valued dashboard" content type.

zzwebmaster

unread,
Jul 14, 2011, 10:46:07 AM7/14/11
to museum-dashb...@googlegroups.com
I do understand that you are in the process of upgrading and resources
are limited. But the two errors that I am getting are:

1. Parameter 2 to userreference_user() expected to be a reference, value
given in /home/newarkda/public_html/includes/module.inc on line 386. (I
am also getting other errors related to Users same file and line number)

2.Function ereg() is deprecated in
/home/newarkda/public_html/includes/file.inc on line 646.

These errors are due to the new version of PHP and since I am on a
shared host the I have no way of controlling the PHP version. Unlike
Drupal where I can loaded an older version I don't have this option for
PHP. I don't know how many users are using this and how many are on a
shared host but as web hosts upgrade these errors will appear more and
more. I don't code with PHP (I code using ActionScript, XML and
JavaScript) and troubleshooting this would take much longer for me then
for the original developers.

Any Help in this matter would be greatly appreciated.

Charlie Moad

unread,
Jul 14, 2011, 11:21:28 AM7/14/11
to museum-dashb...@googlegroups.com
Everything you are seeing really reflects that Drupal 5 has not been updated to support PHP 5.3. Many web hosting providers have not updated to PHP 5.3. Also, the undertaking would be great for making Drupal 5 compatible with PHP 5.3. For this reason we cannot reliably support this hosting setup. If you resolved the current errors you are seeing, chances are that you are going to run into a host of other problems as well. I'm sorry this isn't something we can help more on.

zzwebmaster

unread,
Jul 14, 2011, 11:29:28 AM7/14/11
to museum-dashb...@googlegroups.com
I do understand and appreciate all the help give so far.

zzwebmaster

unread,
Jul 14, 2011, 2:14:49 PM7/14/11
to museum-dashb...@googlegroups.com
If anyone is have a problem with Drupal 5.x and PHP 5.3 install this
patch and it will solve some of the issues.

http://drupal.org/node/853064

drupal5php53.patch
Reply all
Reply to author
Forward
0 new messages