Staff Topioc Mod Error

Wondering why that MOD you have won't install correctly? Let's take a look
Forum rules
DO NOT give out any FTP passwords to anyone! There is no reason to do so! If you need help badly enough, create a temporary FTP account that is restricted to only the files that you need help with and give the information for that. Giving out FTP information can be very dangerous!
Locked
pic
Registered User
Posts: 22
Joined: Thu Dec 21, 2006 10:13 pm

Staff Topioc Mod Error

Post by pic »

FIND FAILED: In file [viewforum.php] could not find:

$folder_new = $images['folder_new'];
}
}

I can't find ANYTHING like that.

Download topic:
Here

I'm really confused with this error. Normally I can simply find it by search for one part of the requirements and find it. Please help! :)

Nightrider
Registered User
Posts: 7219
Joined: Tue Nov 16, 2004 8:54 pm
Location: Florida, US
Contact:

Re: Staff Topioc Mod Error

Post by Nightrider »

Ok, I checked the viewforum.php files in both phpBB 2.0.13 and 2.0.22 and found that line of code. So you must have installed a MOD that modified that line. So could you provide a text link to your viewforum.php file???

Creating text Links for phpBB files

First create a duplicate of the phpBB file on your PC, then rename the file by adding .txt to the end of the file name. Next upload the file to a location on your FTP Server accessible to the public and provide a link back here for us to analyze it...

The path to your file could look something like this now:

Code: Select all

http://yourdomain.com/downloads_folder/viewforum.txt
Image

pic
Registered User
Posts: 22
Joined: Thu Dec 21, 2006 10:13 pm

Re: Staff Topioc Mod Error

Post by pic »


Nightrider
Registered User
Posts: 7219
Joined: Tue Nov 16, 2004 8:54 pm
Location: Florida, US
Contact:

Re: Staff Topioc Mod Error

Post by Nightrider »

Ok, try this:

OPEN
staffposts1.0.9.mod

FIND

Code: Select all

#
#-----[ FIND ]------------------------------------------
#
					$folder_new = $images['folder_new'];
				}
			}
#
#-----[ AFTER, ADD ]------------------------------------
#
			if ( $topic_rowset[$i]['topic_staff'] )
			{
				$folder = $images['folder_staff'];
				$folder_new = $images['folder_staff_new'];
			}
REPLACE WITH

Code: Select all

#
#-----[ FIND ]------------------------------------------
#
$newest_post_img = '';
if( $userdata['session_logged_in']
#
#-----[ BEFORE, ADD ]------------------------------------
#
			if ( $topic_rowset[$i]['topic_staff'] )
			{
				$folder = $images['folder_staff'];
				$folder_new = $images['folder_staff_new'];
			}
Save, upload, and try again using EM...

Image

pic
Registered User
Posts: 22
Joined: Thu Dec 21, 2006 10:13 pm

Re: Staff Topioc Mod Error

Post by pic »

Past that error. If I can't fix this error I'll edit this post.

EDIT: Ugg. New error. Search.php. Can't find

$folder_new = $images['folder_new'];
}
}

Making a .txt of search.php.

http://www.partners-in-crime-studios.co ... search.txt

Nightrider
Registered User
Posts: 7219
Joined: Tue Nov 16, 2004 8:54 pm
Location: Florida, US
Contact:

Re: Staff Topioc Mod Error

Post by Nightrider »

Ok, try this:

OPEN
staffposts1.0.9.mod

FIND

Code: Select all

#
#-----[ FIND ]------------------------------------------
#
							$folder_new = $images['folder_new'];
						}
					}
#
#-----[ AFTER, ADD ]------------------------------------
#
				if ( $searchset[$i]['topic_staff'] ) 
				{
					$folder = $images['folder_staff'];
					$folder_new = $images['folder_staff_new'];
				}
REPLACE WITH

Code: Select all

#
#-----[ FIND ]------------------------------------------
#
if ( $userdata['session_logged_in'] )
#
#-----[ BEFORE, ADD ]------------------------------------
#
				if ( $searchset[$i]['topic_staff'] ) 
				{
					$folder = $images['folder_staff'];
					$folder_new = $images['folder_staff_new'];
				}
Save, upload, and try again using EM...

Image

pic
Registered User
Posts: 22
Joined: Thu Dec 21, 2006 10:13 pm

Re: Staff Topioc Mod Error

Post by pic »

Wootage! It finally completed! Thanks.

Nightrider
Registered User
Posts: 7219
Joined: Tue Nov 16, 2004 8:54 pm
Location: Florida, US
Contact:

Re: Staff Topioc Mod Error

Post by Nightrider »

Congratulations pic!!! Image

If you have any additional questions, comments, or concerns, don't be shy about asking for assistance. If I can, I will be more than happy to help you...

Image

pic
Registered User
Posts: 22
Joined: Thu Dec 21, 2006 10:13 pm

Re: Staff Topioc Mod Error

Post by pic »

Hmm... This is weird. When installing a DB update for a mod it says
Template->loadfile(): File ../templates/subSilver/simple_header.tpl for handle overall_header is empty


What does that mean? The mod is Topics a User Has Started Mod.

Edit: And yes, I moved it to root/install/db_update.php

Nightrider
Registered User
Posts: 7219
Joined: Tue Nov 16, 2004 8:54 pm
Location: Florida, US
Contact:

Re: Staff Topioc Mod Error

Post by Nightrider »

Do the MOD instructions say to upload the DB Update file to an installs folder? Many times, you run them from the phpBB forum folder instead...

Image

Locked