The vB Geek

Go Back   The vB Geek > vB Geek Products > Geek Auto-Linker

Geek Auto-Linker GAL automatically links keywords that users type in posts to advertising hover pop-ups.

Advertisement
  Learn how to remove ads

Reply
 
Thread Tools Display Modes
  #1  
Old 01-21-2008, 06:54 AM
cellarius's Avatar
cellarius cellarius is offline
Junior Member
 
Join Date: Dec 2005
Posts: 20
Geek Auto-Linker Pro License Holder 
Default upgrade to GAL 6 - not working

Hi Morgan,

just renewed my license for your new GAL . Tried to install, did the following (as instructed):

- uploaded all files in the upload-folder
- went to my admin-cp - or rather: wanted to go there; all my forum showed was
Quote:
Warnung: Missing argument 1 for gal_base() in /geek/ gal /includes/gal_class_core.php (Zeile 46)

Warnung: Missing argument 2 for gal_base() in /geek/ gal /includes/gal_class_core.php (Zeile 46)

Warnung: Missing argument 3 for gal_base() in /geek/ gal /includes/gal_class_core.php (Zeile 46)

Warnung: Missing argument 4 for gal_base() in /geek/ gal /includes/gal_class_core.php (Zeile 46)

Warnung: Missing argument 5 for gal_base() in /geek/ gal /includes/gal_class_core.php (Zeile 46)

Warnung: Missing argument 6 for gal_base() in /geek/ gal /includes/gal_class_core.php (Zeile 46)

Fatal error: Call to a member function on a non-object in /homepages/8/d32851927/htdocs/roma-antiqua/forum/geek/gal/includes/gal_class_core.php on line 109
So i tried to go to admincp directly, which, after trying to log in, gave me the same errors. Luckily, I had backed up the gal -folders; after restoring it, I was able to access the admincp.

So I tried the other way round: I first updated the product, then copied the new gal -files to the server. Now, I was able to access my forums alright, but when accessing a showthread.php-page, all I got was gibberish:
Quote:
$this->post_cache[$post['postid']][0] = $post['dateline']; } } return $text; } function match($item, $id) { global $post, $threadinfo, $stylevar; static $counter; static $inied; $id = intval($id); //record this entry into the cache if ($post['postid'] && !$this->cached['posts'][$post['postid']]['find'][$id]) { $this->postcache[$post['postid']]['dateline'] = $post['dateline']; $this->postcache[$post['postid']]['gals'][$id] = $id; } if (!$_POST['isajax'] && !$_POST['fromquickreply']) { //Cache usergroup exemptions $catid = $this->cached[$id]['catid']; if (!$this->cat_usergroups[$catid]['ini']) { $this->cat_usergroups[$catid]['ini'] = true; $this->cat_usergroups[$catid]['exempt'] = is_member_of($this->user, explode(",", $this->cached[$id]['usergroups'])); if ($this->cat_usergroups[$catid]['exempt']) { $this->cat_usergroups[$catid]['exempt'] = strtolower($this->core->userinfo['field' . $this->cached[$id]['profile']]) == strtolower($this->cached[$id]['field_value_yes']); } } if (!$this->cat_usergroups[$catid]['exempt']) { $ gal =& $this->cached[$id]; if ( !$threadinfo['threadid'] || !$ gal ['ignorethread'] || ($threadinfo['threadid'] && $ gal ['ignorethread'] && $threadinfo['threadid'] != $ gal ['ignorethread']) ) { //We cant hook into Ajax Quick reply, nor does the user want to view GALs so we will record, but not replace. $this->impressions[$id] ++; $counter ++; $ gal ['id'] = $id; $ gal ['match'] = $item; $ gal ['tagid'] = 'gal_' . $id . '_' . $post['postid'] . '_' . $counter; if ($ gal ['track_hits'] && $this->forumid) { $ gal ['url'] = $vbulletin->options['bburl'] . "/autolink.php?id=$id&forumid=" . $this->forumid . "&script=" . rawurlencode(THIS_SCRIPT); } eval('$item = "' . fetch_template($this->link_templates[$id]) . '";'); if (!$this->cached_content[$id]) { $ gal ['content'] = $this->parse_vb_bbcode($ gal ['content'], $ gal ['html']); eval('$content = "' . fetch_template($this->content_templates[$id]) . '";'); $this->cached_content[$id] = $content; $this->cached_ids .= ",$id"; } if (!$this->cached_x[$post['postid']][$id]) { $this->cached_x[$post['postid']][$id] = "
" . $this->cached_content[$id] . "
(randomly copied, there was a lot more than that).

So, now that I bought it, how can I use it?

My forums are at http://www.roma-antiqua.de/forum, old gal 4.8.1. restored and working.

Thanks for your help,
cellarius

Last edited by cellarius; 01-21-2008 at 12:17 PM..
Reply With Quote
  #2  
Old 01-21-2008, 10:38 AM
Dr. Bantham Dr. Bantham is offline
Member
 
Join Date: Mar 2007
Posts: 31
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder Geek Gazette License Holder 
Default

I experienced this same problem. First, I uploaded GAL 4.8.1 files back in place to get the board working. I then reversed the steps and uploaded the xml file first, followed by uploading the new GAL 6.0 files. This worked for me.

UPDATE
Well, the installation appeared to go well, but none of my pre-existing or new links actually work. I have checked all GAL settings and rebuilt the post cache, all to no avail. Hmmm...
__________________
THOMAS LIGOTTI ONLINE
A Shining Brainless Beacon Of Elegant Mutations And Cunning Annihilations

Last edited by Dr. Bantham; 01-21-2008 at 11:47 AM..
Reply With Quote
  #3  
Old 01-21-2008, 11:39 AM
Legende Legende is offline
Junior Member
 
Join Date: Apr 2007
Posts: 8
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder 
Default

same problem here
Reply With Quote
  #4  
Old 01-21-2008, 12:17 PM
cellarius's Avatar
cellarius cellarius is offline
Junior Member
 
Join Date: Dec 2005
Posts: 20
Geek Auto-Linker Pro License Holder 
Default

Quote:
Originally Posted by Legende View Post
same problem here
Which one?
Reply With Quote
  #5  
Old 01-21-2008, 12:21 PM
Legende Legende is offline
Junior Member
 
Join Date: Apr 2007
Posts: 8
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder 
Default

after uploading the new files, the forum gives me a blank page on every site (even admincp) and error log says:

PHP Fatal error: Call to a member function on a non-object in /var/www/vhosts/domain.com/httpdocs/geek/ gal /includes/gal_class_core.php on line 109, referer:
Reply With Quote
  #6  
Old 01-21-2008, 03:18 PM
Morgan's Avatar
Morgan Morgan is offline
Administrator
 
Join Date: Jul 2006
Posts: 2,255
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

Do these steps and let me know how it works...
  1. Place this in your vB config.php file after the <?php at the top:
    Code:
    define('DISABLE_HOOKS', true);
  2. FTP the GAL files to your server, even if you already have done it.
  3. Import the product-gal.xml file via the vB ACP products manager.
  4. Remove the line in step one from your vB config.php file.
  5. Go to GAL Maintenance via the ACP and click Rebuild RegExp Cache.
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks.
While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams
Reply With Quote
  #7  
Old 01-21-2008, 04:10 PM
Wildthinks Wildthinks is offline
Junior Member
 
Join Date: Dec 2005
Posts: 27
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder 
Default

Dont work for me... the keyword dont displayed...

No difference to beta 5
Reply With Quote
  #8  
Old 01-21-2008, 04:17 PM
Morgan's Avatar
Morgan Morgan is offline
Administrator
 
Join Date: Jul 2006
Posts: 2,255
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

Did you go to the vB ACP -> Geek Auto-Linker -> Categories and for each category click it, and then under Forums set the forums where you want auto-links to appear?
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks.
While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams
Reply With Quote
  #9  
Old 01-21-2008, 04:55 PM
Wildthinks Wildthinks is offline
Junior Member
 
Join Date: Dec 2005
Posts: 27
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder 
Default

yes for the first two, the last i cant find any to gal in my forums.

Screenshot for problems with gal
gal.jpg

Seems that the regexp not work properly or i have problem with my keywords...??
Reply With Quote
  #10  
Old 01-21-2008, 05:00 PM
cellarius's Avatar
cellarius cellarius is offline
Junior Member
 
Join Date: Dec 2005
Posts: 20
Geek Auto-Linker Pro License Holder 
Default

Hi Morgan,

I did as you propsed and installation went ok this time. But, as with Wildthinks, the GALs are not replaced in the forum. I did activate forums in the categories setting, and, of course, I did activate GAL for showthread and showpost pages in settings. After that, I rerun both cache rebuikding features.

By the way: Perhaps you should have an upgrade walkthrough where you mention all this stuff; I wouldn't have thought of setting the forums anew for my old categories, if you had not told here.

Keep up the good work (and, please, make my GALs come back )
cellarius

P.S.: If it would help, I'd grant you admin access to my forum. I think I could trust you with that
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
GAL Not working... :( aspkin Geek Auto-Linker 9 08-14-2008 04:08 PM
GAL stopped working Johnny Utah Geek Auto-Linker 1 01-23-2008 05:37 PM
Where can I see GAL working ? .Joel Geek Auto-Linker 4 07-17-2007 12:38 AM
Gars aint working 100% since upgrade Bashy Geek Article and Review System 4 08-21-2006 07:57 PM
GAL working fine, one question jluerken Geek Auto-Linker 2 10-17-2005 09:59 AM


All times are GMT. The time now is 11:33 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.