PDA

View Full Version : wrong data type in functions_vba_links_savelink.php


~kev~
10-26-2007, 12:14 PM
Just installed links directory 2.0.1 on a VB 3.6.8 forum.

When a member submits a link, at the top of the next page there is an error message:

Warning: in_array() [function.in-array]: Wrong datatype for second argument in /includes/functions_vba_links_savelink.php on line 62

The link is submitted and the user is forwarded to the next page.

This might be related, when I an on the links.php page, and click "log out" I get an error -
Not Found
The requested URL /links/login.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.

websitename.com/links/login.php?do=logout&logouthash=a350864544663b9631d40a4cd00dac3d

I can then go to the home page and log out / log in just fine. Everything else seems to be working fine.

Brian
10-26-2007, 12:33 PM
The in_array() error sounds like it may just be due to your settings cache not being updated. Try going to Admin CP => vBa Links Directory => Modify Settings => Show All Settings, and just save your settings to be sure the cache is updated. You don't seem to have anything unusual in your navbar links, so I would think that saving your settings may also fix the problem with the login.php link.

Our Sponsors
 

~kev~
10-26-2007, 12:51 PM
Well that looks like it got it.

The errors is gone, and I can log out from the links directory.

Thank you!!

:)

Brian
10-26-2007, 02:20 PM
Glad to be of service. :)