 | |  | | | Classifieds Installation & Upgrades If you're having install or upgrade problems, post here. |
March 30th, 2005, 08:52 AM
|
#41 (permalink)
| | Registered User
Join Date: Mar 2002
Posts: 176
|
I put it back since nothing happened. I am testing with the real classifieds install, since this is where I have the header. But title=nohilite is a plain td tag... it must be some other variable in there. I am investigating.... I thought it was one which displays the link count dynamically, but no...
|
| |
March 30th, 2005, 08:58 AM
|
#42 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,069
|
Yep I dont see the contents of all the java includes but title is being redefined to blank elsewhere
Most likely title is in some script and only defined when that specific submit is pressed.
If you remove the search code does it work?
I would say thats most likely the common cause as if you are including search.php in that script title is probally used.
|
| |
March 30th, 2005, 09:01 AM
|
#43 (permalink)
| | Registered User
Join Date: Mar 2002
Posts: 176
|
I did a search for title in the navbar, not too many returned... including the login box
<td><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="4" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td>
|
| |
March 30th, 2005, 09:06 AM
|
#44 (permalink)
| | Registered User
Join Date: Mar 2002
Posts: 176
|
could you put the vb back by section? Header without navbar, without headinclude ... and then we add them litlle by little
|
| |
March 30th, 2005, 09:09 AM
|
#45 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,069
|
I do not beleive its the navbar login as that works fine with a normal VB3
Problem has to be in your highly customized header and all the hacks. There is references to extra hacks being installed and I know by looking at the header this is so maybe best thing is to take your header back to normal and add things one at a time.
|
| |
March 30th, 2005, 09:14 AM
|
#46 (permalink)
| | Registered User
Join Date: Mar 2002
Posts: 176
|
I am going to upload phpinclude, headinclude, header and navbar. Can't see any titles declararations ....
Please delete them when you are done downloading them or advise me so I do it.
Last edited by Lionel; March 30th, 2005 at 10:40 AM.
|
| |
March 30th, 2005, 09:24 AM
|
#47 (permalink)
| | Registered User
Join Date: Mar 2002
Posts: 176
|
hummm what was doing it? Looks like it's fixed.
|
| |
March 30th, 2005, 09:36 AM
|
#48 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,069
|
Nothing is fixed
From what I am seeing it has to be a hack you have installed that has modifed one of the two files we include or one of the files include as well.
require("./global.php");
require_once('./includes/functions_showthread.php');
I cant say what hack is your problem
We integrate with an unhacked VB3 and everything works like it should. I can show numerous examples of such. If you installed a second unhacked VB3 and classifieds together you will see it work.
You would need to take an unmodified version of VB3 and add each hack back in one at a time to see which hack you have installed for vb3 is the issue.
|
| |
March 30th, 2005, 09:40 AM
|
#49 (permalink)
| | Registered User
Join Date: Mar 2002
Posts: 176
|
ok I am going to look for those two
require("./global.php");
require_once('./includes/functions_showthread.php');
|
| |
March 30th, 2005, 09:42 AM
|
#50 (permalink)
| | Registered User
Join Date: Mar 2002
Posts: 176
|
but, maybe I could change your $title? I don't mind changing it all over if you tell me where
|
| |
March 30th, 2005, 09:51 AM
|
#51 (permalink)
| | Registered User
Join Date: Mar 2002
Posts: 176
|
My php are hack to the max. Since you are the last guy on the block I think it is best solution to alter yours
|
| |
March 30th, 2005, 10:31 AM
|
#52 (permalink)
| | Registered User
Join Date: Mar 2002
Posts: 176
| Found problem!!!
In global.php
//lionel
# Featured articles block code
$featuredquery = $DB_site->query("
SELECT articles_articleid, title, summary, icon
FROM " . TABLE_PREFIX . "articles_article
WHERE featured=1
ORDER BY articles_articleid DESC
LIMIT 5");
if($DB_site->num_rows($featuredquery)>0)
{
while($featuredbits=$DB_site->fetch_array($featuredquery))
{
$articleid=$featuredbits['articles_articleid'];
$title=$featuredbits['title'];
$summary=$featuredbits['summary'];
$articon=$featuredbits['icon'];
// $getbgrow = getrowcolor(); /////
eval('$articonimg = "' . fetch_template('header_articonimgfeatured') . '";');
eval('$headerarticlesbitsfeatured .= "' . fetch_template('header_articlesbitsfeatured') . '";');
}
}
$DB_site->free_result($featuredquery);
unset($title);
//lionel
I can easily change that one into $mytile
|
| |
March 30th, 2005, 10:39 AM
|
#53 (permalink)
| | Registered User
Join Date: Mar 2002
Posts: 176
|
I want to say thank you to you for your patience and your help. Everything is fine. The unset statement in header template was messing things up. I just changed the name into $mytitle.
I'll delete the test install.
Once again, thanks.
|
| |
March 30th, 2005, 10:40 AM
|
#54 (permalink)
| | PhotoPost Developer Verified Customer
Join Date: Jan 2002
Posts: 11,860
|
You should change that $title in that mod to something else and it won't cause any more problems. Good job finding it since we didnt have access to that code.
Post Edit: Woops, I see you posted just that!
__________________ Please do not PM me for support or sales questions. Thank you for your understanding. |
| |
March 30th, 2005, 10:46 AM
|
#55 (permalink)
| | Registered User
Join Date: Mar 2002
Posts: 176
|
The credit goes to Omegatron. Once he told me which php your script was using, I went straight to global.php and made a search on $ title
|
| |
March 30th, 2005, 12:52 PM
|
#56 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,069
|
Glad to see you got it. That was driving me batty.
I know after working with your test classifieds install that the problem was not in the header navbar or headerinclude so it had to be in the files itself and looking at your VB admin page with all those hacks it had to be something in the file
Last edited by Chuck S; March 30th, 2005 at 12:54 PM.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 07:14 AM. | |