[DEV] Pafiledb [DOWNLOAD MOD] 0.0.9d

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
Locked
Frold
Registered User
Posts: 447
Joined: Sat Nov 02, 2002 8:19 am

Post by Frold »

AlleyKat wrote:
Frold wrote:after install iget this error?
Fatal error: Cannot redeclare get_extension() (previously declared in /hotel/studmed/WWW/attach_mod/includes/functions_attach.php:793) in /hotel/studmed/WWW/pafiledb/includes/functions.php on line 253

what to do?


This is due to the fact that pafiledb declare the same function as Attach MOD does. Comparing the two functions you'll notice that they are absolutely alike. I seem to get it running by just deleting the function in pafiledb/includes/functions.php.

/edit/ well this, frolds changes and some minor corrections related to my fisubsilver-theme got the Admin part working, anyway ;)


Yes I took
function get_extension($filename)
{
$extension = strrchr(strtolower($filename), '.');
$extension[0] = ' ';
$extension = strtolower(trim($extension));
if (is_array($extension))
{
return ('');
}
else
{
return ($extension);
}
}


and replaced with

Code: Select all

//function get_extension($filename)
//{
//	$extension = strrchr(strtolower($filename), '.');
//	$extension[0] = ' ';
//	$extension = strtolower(trim($extension));
//	if (is_array($extension))
//	{
//		return ('');
//	}
//	else
//	{
//		return ($extension);
//	}
//}
I works so far but I havn´t done any test!
carloclaessen
Registered User
Posts: 494
Joined: Sun Mar 23, 2003 11:55 pm

Post by carloclaessen »

edited on request
Last edited by carloclaessen on Fri Sep 05, 2003 5:14 pm, edited 1 time in total.
Cyber_Sniper
Registered User
Posts: 105
Joined: Mon Feb 24, 2003 3:52 pm

Post by Cyber_Sniper »

Deleted on request*
:lol:
Last edited by Cyber_Sniper on Sat Sep 06, 2003 11:35 am, edited 1 time in total.
Frold
Registered User
Posts: 447
Joined: Sat Nov 02, 2002 8:19 am

Post by Frold »

CUT OUT
Last edited by Frold on Sat Sep 06, 2003 6:50 am, edited 1 time in total.
carloclaessen
Registered User
Posts: 494
Joined: Sun Mar 23, 2003 11:55 pm

Post by carloclaessen »

edited on request
Last edited by carloclaessen on Fri Sep 05, 2003 5:14 pm, edited 1 time in total.
Cyber_Sniper
Registered User
Posts: 105
Joined: Mon Feb 24, 2003 3:52 pm

Post by Cyber_Sniper »

I downloaded this directly from Mohd's site 2 months ago...
So what do you mean by you corrected it?
carloclaessen
Registered User
Posts: 494
Joined: Sun Mar 23, 2003 11:55 pm

Post by carloclaessen »

nothing importend

he has just zipped it for me to host
there was a wrong file in
Cyber_Sniper
Registered User
Posts: 105
Joined: Mon Feb 24, 2003 3:52 pm

Post by Cyber_Sniper »

I see....
So has there been any changes to the files these few months?
carloclaessen
Registered User
Posts: 494
Joined: Sun Mar 23, 2003 11:55 pm

Post by carloclaessen »

no, after th 5th he goes on with it he told me
magnus333
Registered User
Posts: 21
Joined: Sat Sep 14, 2002 3:58 am

Post by magnus333 »

i dont suppose you have the ezportal bloack mod to host as well? :wink:
Frold
Registered User
Posts: 447
Joined: Sat Nov 02, 2002 8:19 am

Post by Frold »

I´m looking for that to.....
carloclaessen
Registered User
Posts: 494
Joined: Sun Mar 23, 2003 11:55 pm

Post by carloclaessen »

have to dissapoint you

sorry no
Fearless
Registered User
Posts: 664
Joined: Mon Mar 31, 2003 6:16 am

Post by Fearless »

*edited on request*

Only 4 more days to go ;) .
Last edited by Fearless on Sat Sep 06, 2003 1:05 am, edited 1 time in total.
Fearless
Registered User
Posts: 664
Joined: Mon Mar 31, 2003 6:16 am

Post by Fearless »

I'm getting this error when I try to run pafiledb_installer.php for a first time installation :
phpBB : Critical Error

Error updating sessions table

DEBUG MODE

SQL Error : 1054 Unknown column 'PAGE_DOWNLOAD' in 'field list'

UPDATE phpbb_sessions SET session_time = 106***, session_page = PAGE_DOWNLOAD WHERE session_id = '8467f95***'

Line : 267
File : /***/public_html/phpBB2/includes/sessions.php


I'm not sure what that would mean. I'm going to try to import the SQL file instead.

P.S: Are all those files in the cache necessary or can they be deleted ?

Edit: Found the answer here :

http://www.phpbb.com/phpBB/viewtopic.ph ... &start=440

I'm now having trouble with deleting or moving a category. All I seem to get is a blank page.
User avatar
Heartless_King
Registered User
Posts: 95
Joined: Mon Aug 19, 2002 3:15 pm
Location: United Kingdom

Post by Heartless_King »

Hey MOHD, long time no see...

I was wondering whats the situation on the site?? Been down for sometime and i havent been able to keep up with fixes updates etc etc....
Heartless_King

"Keep it Heartless... Always".
Website Under Dev :)
Locked

Return to “[2.0.x] MODs in Development”