The vB Geek

Go Back   The vB Geek > vB Geek Products > Geek Article and Review System

Geek Article and Review System GARS is the mega popular system for turning forums into articles, tutorials, or even reviews.

Advertisement
  Learn how to remove ads

Reply
 
Thread Tools Display Modes
  #1  
Old 01-05-2006, 05:47 AM
albn99 albn99 is offline
Junior Member
 
Join Date: Nov 2005
Posts: 13
Geek Article and Review System License Holder 
Unhappy Bug, please help

I am getting this message:

Fatal error: Only variables can be passed by reference in /home/users/knobend/public_html/geek/gars/includes/gars_class_core.php on line 1623

This is when I click to see a list of other articles.

the code in question:

PHP Code:
function snip_and_parse(&$text$readmore 0)
    {
        
$text $this->parse_bbcode($this->prep_for_broken_tags(fetch_trimmed_title($text250)));
        
$readmore strlen($text)  > 240 $text "... <a href='showthread.php?t=$readmore'><strong>More</strong></a>" "" "";
        return 
$text;
    } 
How do I fix that?

Thanks
Reply With Quote
  #2  
Old 01-05-2006, 10:57 AM
The Geek's Avatar
The Geek The Geek is offline
Senior Member
 
Join Date: Aug 2005
Posts: 6,717
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

Upgrade to a later release (ie DNEG) that was fixed awhile ago.
Reply With Quote
  #3  
Old 01-05-2006, 07:57 PM
albn99 albn99 is offline
Junior Member
 
Join Date: Nov 2005
Posts: 13
Geek Article and Review System License Holder 
Default

I just upgraded and followed all the instructions. Same problem. Does PHP5 have anything to do with it? Becuase it worked fine on the other server it used to be on.

Maybe I am missing something.

Thanks.
Reply With Quote
  #4  
Old 01-05-2006, 08:41 PM
The Geek's Avatar
The Geek The Geek is offline
Senior Member
 
Join Date: Aug 2005
Posts: 6,717
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

it is a PHP5 issue, however that code isnt called like that anymore and hasnt been for awhile. Can you double check that you indeed overwrote your gars_class_core.php file? Maybe its cached or something?
Reply With Quote
  #5  
Old 01-05-2006, 09:38 PM
albn99 albn99 is offline
Junior Member
 
Join Date: Nov 2005
Posts: 13
Geek Article and Review System License Holder 
Default

How do you flush the cache?
Reply With Quote
  #6  
Old 01-05-2006, 09:44 PM
The Geek's Avatar
The Geek The Geek is offline
Senior Member
 
Join Date: Aug 2005
Posts: 6,717
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

depends on what your using - ie EA, turk, whatever. Not really my area of expertise. All I know is that my php cache system gave me a headache trying to upload files from time to time.

All I know is that function call doesnt exist anymore. Especially if your getting it dieing on the same line number - thats a dead giveaway the old file is still being used.

HTHs
Reply With Quote
  #7  
Old 01-05-2006, 09:46 PM
albn99 albn99 is offline
Junior Member
 
Join Date: Nov 2005
Posts: 13
Geek Article and Review System License Holder 
Default

Quote:
Originally Posted by The Geek
depends on what your using - ie EA, turk, whatever. Not really my area of expertise. All I know is that my php cache system gave me a headache trying to upload files from time to time.

All I know is that function call doesnt exist anymore. Especially if your getting it dieing on the same line number - thats a dead giveaway the old file is still being used.

HTHs
Okay, I deleted all the files and reuploaded them. Same thing... strange indeed.
Reply With Quote
  #8  
Old 01-05-2006, 10:29 PM
The Geek's Avatar
The Geek The Geek is offline
Senior Member
 
Join Date: Aug 2005
Posts: 6,717
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

can you look at the modification date via your ftp?
Reply With Quote
  #9  
Old 01-05-2006, 11:37 PM
albn99 albn99 is offline
Junior Member
 
Join Date: Nov 2005
Posts: 13
Geek Article and Review System License Holder 
Default

Quote:
Originally Posted by The Geek
can you look at the modification date via your ftp?
I uninstalled the script, and am using vbPortals for now until I can figure it out.
Reply With Quote
  #10  
Old 01-06-2006, 09:15 AM
The Geek's Avatar
The Geek The Geek is offline
Senior Member
 
Join Date: Aug 2005
Posts: 6,717
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

Can you get me the file size and date of the geek_gars_class_core.php file in your forums/geek/gars/includes folder?
Heck, for that matter can you get the version number and file date from the header by opening the file up?

Thanks!
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
Bug with posting? JirQUEST Geek Article and Review System 11 06-15-2007 06:21 PM
Bug on Our Site? MrD Geek Auto-Linker 1 11-16-2006 09:31 AM
a little bug joh Geek Article and Review System 3 10-06-2006 05:48 PM
image bug? gyutae Geek Article and Review System 1 01-03-2006 06:27 AM
Bug Seiken Geek Article and Review System 1 12-27-2005 11:05 AM


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


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