Just alittle help!

Discussion of general topics related to the new version and its place in the world. Don't discuss new features, report bugs, ask for support, et cetera. Don't use this to spam for other boards or attack those boards!
Forum rules
Discussion of general topics related to the new release and its place in the world. Don't discuss new features, report bugs, ask for support, et cetera. Don't use this to spam for other boards or attack those boards!
User avatar
Rider
Registered User
Posts: 10
Joined: Tue Aug 26, 2003 8:38 am

Re: Just alittle help!

Post by Rider »

K i have been messing around editing the index.php file(trying my luck) well i now get this :
template->_tpl_load(): No file specified for handle
but the phpbb banner with general error appears this time instead of the white background with the last error!

I guess i need to point it towards the file that starts the template (blah blah...i aint got a clue) please some help? If this error is to much can some one zip me a snapshot pack they know works and email to aragon6000@aol.com please.

Thanks neway for your time and effort!
NightRider of DragonCREW
*Time Ends All Things*
Image
DragonCrew
User avatar
Rider
Registered User
Posts: 10
Joined: Tue Aug 26, 2003 8:38 am

Re: Just alittle help!

Post by Rider »

problem: http://members.lycos.co.uk/roguerider/Forum/index.php
anyhelp please will be much appreciated?
NightRider of DragonCREW
*Time Ends All Things*
Image
DragonCrew
User avatar
SHS`
Registered User
Posts: 1628
Joined: Wed Jul 04, 2001 9:13 am
Location: The Boonies, Hong Kong
Contact:

Re: Just alittle help!

Post by SHS` »

Un... supp... port... ted.

:)
Jonathan “SHS`” Stanley • 史德信
phpBB™ 3.1.x, Bug/Security trackers
phpBB™ Bertie Bear 3.0 — prosilver Edition!Asking Questions The Smart Way
User avatar
psoTFX
Registered User
Posts: 1984
Joined: Tue Jul 03, 2001 8:50 pm
Contact:

Re: Just alittle help!

Post by psoTFX »

But I would add the following, try new snapshots, not just the one you grabbed @ the time, they constantly evolve and ensure you upload all files preserving the case of said files and directories ... beyond that, as SHS` notes, the CVS snapshots are unsupported.
User avatar
Mighty Gorgon
Registered User
Posts: 14
Joined: Wed Sep 17, 2003 8:52 am
Location: Italy
Contact:

Sessions And Template

Post by Mighty Gorgon »

Just some little fixes on recent CVS... these are only modifications to let the board run... THESE ARE NOT TO BE CONSIDERED OFFICIAL FIXES. Many of the files are still missed or incomplete... so there are still many unwanted errors... please, let the developer work.

Open your DB, go to the users table and set user_style to have a default of 1

Open includes/sessions.php.

Find:

Code: Select all

$sql = 'SELECT DISTINCT s.style_id, t.*, c.*, i.*
			FROM ' . STYLES_TABLE . ' s, ' . STYLES_TPL_TABLE . ' t, ' . STYLES_CSS_TABLE . ' c, ' . STYLES_IMAGE_TABLE . " i
			WHERE s.style_id IN ($style, " . $config['default_style'] . ') 
				AND t.template_id = s.template_id
				AND c.theme_id = s.theme_id
				AND i.imageset_id = s.imageset_id';
		$result = $db->sql_query($sql, 3600);

Replace with:

Code: Select all

$sql = 'SELECT DISTINCT s.*, t.*, c.*, i.*
			FROM ' . STYLES_TABLE . ' s, ' . STYLES_TPL_TABLE . ' t, ' . STYLES_CSS_TABLE . ' c, ' . STYLES_IMAGE_TABLE . ' i
			WHERE s.style_id = ' . $style . '
				AND t.template_id = s.template_id
				AND c.theme_id = s.theme_id
				AND i.imageset_id = s.imageset_id';
		$result = $db->sql_query($sql);
These should fix the blank pages when the board is installed. It worked for me.

Bye
8)
User avatar
Techie-Micheal
Registered User
Posts: 566
Joined: Sun Oct 14, 2001 12:11 am

Re: Just alittle help!

Post by Techie-Micheal »

Unsupported means unsupported. Not by team members, not by devs, not by users. Period.
User avatar
Mighty Gorgon
Registered User
Posts: 14
Joined: Wed Sep 17, 2003 8:52 am
Location: Italy
Contact:

Sorry

Post by Mighty Gorgon »

Sorry :oops: .

I'm neither asking any support nor trying to substitute you (developers) guys.

I appreciate very much your work. In these days I'm working hard on phpBB trying to understand the underlying logic and way it's working, and since I had the same problem listed above (that I solved that way), I thought it could be useful for some people that like me wish to try phpBB22 features. That is a very annoying error, because it not let you enter phpBB after installation...

However, if I did something wrong, please accept my excuses, it won't happen anymore.

:(
Roberdin
Registered User
Posts: 1546
Joined: Wed Apr 09, 2003 8:44 pm
Location: London, United Kingdom

Re: Just alittle help!

Post by Roberdin »

The reason why devs don't like these fixes as they go out of date like dat! ;)
Rob
Post Reply