Welcome, Guest. Please Login or Register.
June 17, 2024, 10:55:43 AM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Completed mods  |  [beta 1.5.4] Relative URLs 1.3 « previous next »
Pages: 1 2 [3] 4 Reply Ignore Print
Author Topic: [beta 1.5.4] Relative URLs 1.3  (Read 26253 times)
Anguz
YaBB God
*****
Posts: 641


llama me?!

WWW
Re:[beta 1.5.4] Relative Urls 1.3
« Reply #30 on: September 28, 2003, 05:06:48 AM »
Reply with quote

no, that's because I included spider url in that last code I gave you and this is to get the vars from the url

the other code you tried earlier is just for relative urls only and doesn't need it
Logged

My Mods: Avatar & Sig Size Control, No Show Msg Subject, Msg URL Composer, Built-in Avatar Rand, Built-in Sig Rand, Remove New-lines Excess, Show All Stars, Search Bar, Smart URLs
dschwab9
Full Member
***
Posts: 144


I'm a llama!

WWW
Re:[beta 1.5.4] Relative Urls 1.3
« Reply #31 on: September 30, 2003, 11:54:22 PM »
Reply with quote

I just tried that last code you posted, and Apache crashed imediately, it never even loaded a single page  :-X

I seems that there are 3 levels of output buffering here:
if ($modSettings['enableCompressedOutput'] && preg_match('/gzip/i', getEnv('HTTP_ACCEPT_ENCODING')) && @ini_get('zlib.output_compression') != '1')
   ob_start("ob_gzhandler");
else
   ob_start();

#Anguz' mods to change urls
ob_start('ob_anguz_url');


You think that has something to do with it?
Logged
Anguz
YaBB God
*****
Posts: 641


llama me?!

WWW
Re:[beta 1.5.4] Relative Urls 1.3
« Reply #32 on: October 01, 2003, 01:23:50 AM »
Reply with quote

Quote from: dschwab9 on September 30, 2003, 11:54:22 PM
I just tried that last code you posted, and Apache crashed imediately, it never even loaded a single page  :-X

I seems that there are 3 levels of output buffering here:
if ($modSettings['enableCompressedOutput'] && preg_match('/gzip/i', getEnv('HTTP_ACCEPT_ENCODING')) && @ini_get('zlib.output_compression') != '1')
   ob_start("ob_gzhandler");
else
   ob_start();

#Anguz' mods to change urls
ob_start('ob_anguz_url');


You think that has something to do with it?

no, ob can be nested and there's only two, the ones before mine are conditional, one or the other

I don't know what's wrong with your Apache, really, I know nothing about it and can't duplicate your problem... the code is working great for me, it has since using the preg_replace_callback functions too

why don't you try asking in an Apache group or forum? maybe they can help you? or a PHP related one?

I can ask and see if I get any info on conflicts between ob and apache, but they'll ask for information I don't have, that's why I ask you to search...

I don't want to ask for an account to test on your server either, cause if it crashes Apache, I wouldn't know how to fix it from here

I'm sorry I can't be of any more help on this :-\
Logged

My Mods: Avatar & Sig Size Control, No Show Msg Subject, Msg URL Composer, Built-in Avatar Rand, Built-in Sig Rand, Remove New-lines Excess, Show All Stars, Search Bar, Smart URLs
dschwab9
Full Member
***
Posts: 144


I'm a llama!

WWW
Re:[beta 1.5.4] Relative Urls 1.3
« Reply #33 on: October 01, 2003, 01:47:57 AM »
Reply with quote

I'm thinking about recompiling Apache and PHP from source.  Running Redhat RPM's right now.  Only thing is it's hard to take the server down to do that, since I've got 5-15 people browsing most of the day and google is currently doing it's monthly deep crawl.
Logged
Anguz
YaBB God
*****
Posts: 641


llama me?!

WWW
Re:[beta 1.5.4] Relative Urls 1.3
« Reply #34 on: October 01, 2003, 01:49:44 AM »
Reply with quote

Quote from: Anguz on October 01, 2003, 01:23:50 AM
no, ob can be nested

actually, nested may not be the word, here's what the manual says

QuoteOutput buffers are stackable, that is, you may call ob_start() while another ob_start() is active.

http://mx.php.net/manual/en/function.ob-start.php
Logged

My Mods: Avatar & Sig Size Control, No Show Msg Subject, Msg URL Composer, Built-in Avatar Rand, Built-in Sig Rand, Remove New-lines Excess, Show All Stars, Search Bar, Smart URLs
Anguz
YaBB God
*****
Posts: 641


llama me?!

WWW
Re:[beta 1.5.4] Relative Urls 1.3
« Reply #35 on: October 01, 2003, 01:53:10 AM »
Reply with quote

Quote from: dschwab9 on October 01, 2003, 01:47:57 AM
I'm thinking about recompiling Apache and PHP from source.  Running Redhat RPM's right now.  Only thing is it's hard to take the server down to do that, since I've got 5-15 people browsing most of the day and google is currently doing it's monthly deep crawl.

I understand

well, you have Friendly URLs working fine, so wait for a good moment to do that and hopefully it'll work fine then

and maybe by then, I'll have released a new mod that has Spider and Relative URLs in it, but does more too

you can peek at the progress here, check the urls to boards and threads :)

http://laakademia.com/forums

note: that's my testing forum, so it may be not working at the time you visit, although it's working right now
« Last Edit: October 01, 2003, 01:55:28 AM by Anguz » Logged

My Mods: Avatar & Sig Size Control, No Show Msg Subject, Msg URL Composer, Built-in Avatar Rand, Built-in Sig Rand, Remove New-lines Excess, Show All Stars, Search Bar, Smart URLs
dschwab9
Full Member
***
Posts: 144


I'm a llama!

WWW
Re:[beta 1.5.4] Relative Urls 1.3
« Reply #36 on: October 01, 2003, 02:08:16 AM »
Reply with quote

Ooooo, I like those URL's.  Wonder if that will work on mine  ;D
Logged
Anguz
YaBB God
*****
Posts: 641


llama me?!

WWW
Re:[beta 1.5.4] Relative Urls 1.3
« Reply #37 on: October 02, 2003, 06:10:58 PM »
Reply with quote

Quote from: dschwab9 on October 01, 2003, 02:08:16 AM
Ooooo, I like those URL's.  Wonder if that will work on mine  ;D

I read this today and thought I'd share it here

http://marc.theaimsgroup.com/?l=php-general&m=106510728911279&w=2
Logged

My Mods: Avatar & Sig Size Control, No Show Msg Subject, Msg URL Composer, Built-in Avatar Rand, Built-in Sig Rand, Remove New-lines Excess, Show All Stars, Search Bar, Smart URLs
dschwab9
Full Member
***
Posts: 144


I'm a llama!

WWW
Re:[beta 1.5.4] Relative Urls 1.3
« Reply #38 on: October 02, 2003, 10:11:35 PM »
Reply with quote

Mine is running in "prefork" mode, which technically should eliminate the problems they talk about.  You know how that goes tho  :P
Logged
dschwab9
Full Member
***
Posts: 144


I'm a llama!

WWW
Re:[beta 1.5.4] Relative Urls 1.3
« Reply #39 on: October 04, 2003, 07:09:09 PM »
Reply with quote

Is it possible to add .htm or .php extension to the code I'm currently running?

I've played with it a bit in php and htaccess, but I can't seem to figure it out  ???

* dschwab9 needs to read more in his php book  :-X
Logged
Shadow's Pawn
Support Team
YaBB God
*****
Posts: 597


ich soll nicht toten

ICQ - 8039201shadowpawn@hotmail.com WWW
Re:[beta 1.5.4] Relative Urls 1.3
« Reply #40 on: October 07, 2003, 02:36:41 AM »
Reply with quote

I used the code from reply #20 and there was no apache crash!
Logged

apologize \A*pol"o*gize\, v. i. - To lay the foundation for a future offense.
Shadow's Pawn
Support Team
YaBB God
*****
Posts: 597


ich soll nicht toten

ICQ - 8039201shadowpawn@hotmail.com WWW
Re:[beta 1.5.4] Relative Urls 1.3
« Reply #41 on: October 07, 2003, 03:00:04 AM »
Reply with quote

Okay, using the code from reply #28..

Apache doesn't crash, but when I go to my board, the urls all send me back the front page and none of the images load.
Here are what the urls look like for the boards

http://www.shadowpawn.net/index.phpboard-27

and for images they look like this:

http://www.shadowpawn.net/SkinsyabbseYaBBImagesoff.gif


Any ideas?
Logged

apologize \A*pol"o*gize\, v. i. - To lay the foundation for a future offense.
Anguz
YaBB God
*****
Posts: 641


llama me?!

WWW
Re:[beta 1.5.4] Relative Urls 1.3
« Reply #42 on: October 07, 2003, 03:23:07 AM »
Reply with quote

did you add the base tag in the the html head?
Logged

My Mods: Avatar & Sig Size Control, No Show Msg Subject, Msg URL Composer, Built-in Avatar Rand, Built-in Sig Rand, Remove New-lines Excess, Show All Stars, Search Bar, Smart URLs
Shadow's Pawn
Support Team
YaBB God
*****
Posts: 597


ich soll nicht toten

ICQ - 8039201shadowpawn@hotmail.com WWW
Re:[beta 1.5.4] Relative Urls 1.3
« Reply #43 on: October 07, 2003, 04:46:49 AM »
Reply with quote

Thought I did...

Yeah, so I uploaded the wrong stuff.  Okay, I'll get back to you on this in a while and let you know how it is working out.
Logged

apologize \A*pol"o*gize\, v. i. - To lay the foundation for a future offense.
Shadow's Pawn
Support Team
YaBB God
*****
Posts: 597


ich soll nicht toten

ICQ - 8039201shadowpawn@hotmail.com WWW
Re:[beta 1.5.4] Relative Urls 1.3
« Reply #44 on: October 08, 2003, 02:18:08 AM »
Reply with quote

Well I double checked everything and it is still making the urls for pictures look like this:

http://www.myurl.com/SkinstnetYaBBImagesstats_info.gif

this is using the last code revision you posted.  Using the others that you posted before that doesn't seem to do anything at all..

any ideas?
Logged

apologize \A*pol"o*gize\, v. i. - To lay the foundation for a future offense.
Pages: 1 2 [3] 4 Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  [beta 1.5.4] Relative URLs 1.3 « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.062 seconds with 20 queries.