4images Forum & Community
4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: airliner on September 26, 2007, 08:16:47 AM
-
Hi!
I have a question.
I succefulley integrated 4images and vbuleltin board.
When I click on the index.php page in 4images gallery index everuthing is nice.
When I click on the serach.php page I get this:
Notice: Undefined index: userid in /home/vbulletinmysiste.com/www/forum/gallery/includes/page_header.php on line 45
-
Hi!
I have a question.
I succefulley integrated 4images and vbuleltin board.
When I click on the index.php page in 4images gallery index everuthing is nice.
When I click on the serach.php page I get this:
Notice: Undefined index: userid in /home/vbulletinmysiste.com/www/forum/gallery/includes/page_header.php on line 45
In that file the line looks like this
$cache_id = create_cache_id(
'cat.data.auth_and_info',
array($user_info[$user_table_fields['user_id']])
);
-
I succefulley integrated 4images and vbuleltin board.
Which mod did you use?
-
Hi!
I have a question.
I succefulley integrated 4images and vbuleltin board.
When I click on the index.php page in 4images gallery index everuthing is nice.
When I click on the serach.php page I get this, appears only on this site:
Notice: Undefined index: userid in /home/vbulletinmysiste.com/www/forum/gallery/includes/page_header.php on line 45
The part of the code looks like this...
$cache_id = create_cache_id(
'cat.data.auth_and_info',
array($user_info[$user_table_fields['user_id']])
);
My homepage:
http://airliners-atc.com/forum/gallery/index.php <--- working
http://airliners-atc.com/forum/gallery/search.php <--- error message
-
$cache_id = create_cache_id(
'cat.data.auth_and_info',
array($user_info[$user_table_fields['user_id']])
);
I no see userid in code but user_id ... if you have error line ... is no correct one for support ...
-
I succefulley integrated 4images and vbuleltin board.
Which mod did you use?
this one.
http://www.vbulletin.org/forum/showthread.php?t=98640 (http://www.vbulletin.org/forum/showthread.php?t=98640)
It is for 3.5.x but it works with 3.x I presume, reading threads there
Hmm ... I only get this in Mozilla.
IE works fine.
-
$cache_id = create_cache_id(
'cat.data.auth_and_info',
array($user_info[$user_table_fields['user_id']])
);
I no see userid in code but user_id ... if you have error line ... is no correct one for support ...
What do you mean writing this?
is no correct one for support ...
-
$cache_id = create_cache_id(
'cat.data.auth_and_info',
array($user_info[$user_table_fields['user_id']])
);
I no see userid in code but user_id ... if you have error line ... is no correct one for support ...
What do you mean writing this?
is no correct one for support ...
You say userid but code you post for that line say $user_info['user_id'] ... sure is correct line ?
-
Notice: Undefined index: userid in /home/airliners-atc.com/www/forum/gallery/includes/page_header.php on line 45
http://airliners-atc.com/forum/gallery (http://airliners-atc.com/forum/gallery) <-- OKEJ
http://airliners-atc.com/forum/gallery/search.php (http://airliners-atc.com/forum/gallery/search.php) <--- Not okej.
test those in Mozilla.
When logged in through vBulletin the line Notice: Undefined index: userid in /home/airliners-atc.com/www/forum/gallery/includes/page_header.php on line 45
disapears.
Line 45 in page_header.php
43. $cache_id = create_cache_id(
44. 'cat.data.auth_and_info',
45. array($user_info[$user_table_fields['user_id']])
44. );
-
Ok, so in page_header.php file - search for text: userid (exact word) and post here. The block you post is no right block for error.
-
There is no such word as userid only user_id.
-
Notice: Undefined index: userid in /home/vbulletinmysiste.com/www/forum/gallery/includes/page_header.php on line 45
If so, why is say here for userid and no user_id ?
-
Well,
Tricky part, eh? :)
Do not know that.
-
Well, well :P
i also have this problem, i search alot via the net and i found something about missing a field or what i can see im tryin to get a result from a table but set that parameter without get
in fact, line 89 in page_header is the same in this topic
so let me try to start this again :
i have integrate the 4image with the VB
everything almost running fine except the search ( only with Guest )
whenever the guest click on new pictures
he or she got nothing and this message appears on the top:
Notice: Undefined index: userid in /home/alwasmy/public_html/143/image/includes/page_header.php on line 89
and line 89 is :
$cache_id = create_cache_id(
'data.auth_and_info',
array($user_info[$user_table_fields['user_id']])
);
the table in vb is USER and the field is userid
but the constants is totally changed
im attaching the contents and page_header as a txt
hope someone can solve this !
best regards...
MrLovaLove