Welcome, Guest. Please Login or Register.
November 25, 2024, 07:50:49 PM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  Development  |  Completed mods  |  [beta 1.5.4] Smart URLs v2.1 « previous next »
Pages: 1 2 3 [4] 5 6 ... 18 Reply Ignore Print
Author Topic: [beta 1.5.4] Smart URLs v2.1  (Read 212910 times)
pege
Full Member
***
Posts: 146


Re:[beta 1.5.4] Smart Urls v1.0
« Reply #45 on: November 13, 2003, 10:07:14 PM »
Reply with quote

Upgraded to Php 4.2.2.  Now just need to wait for the DNS to change over to the new servers, and for Anguz to release the next version.  Can hardly wait to get this working!
Logged
Symetrical
Jr. Member
**
Posts: 62


I'm a llama!

Re:[beta 1.5.4] Smart Urls v1.0
« Reply #46 on: November 13, 2003, 10:12:32 PM »
Reply with quote


Good news and bad news:

GOOD NEWS: I turned on register_globals and now $path_info works!

BAD NEWS: The mod still doesn't work. Is path info just meant to return whatever is after the URL?

IE if I went to mysite.com/index.php/test.html
Path_info returns /test.html - is that right?

The thing is, now I get these errors (the other ones are gone)

Notice: Undefined index: 1 in c:\program files\apache group\apache\htdocs\index.php on line 59

Notice: Undefined offset: 1 in c:\program files\apache group\apache\htdocs\index.php on line 61

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at c:\program files\apache group\apache\htdocs\index.php:59) in c:\program files\apache group\apache\htdocs\index.php on line 265

Any ideas?
Logged
Anguz
YaBB God
*****
Posts: 641


llama me?!

WWW
Re:[beta 1.5.4] Smart Urls v1.0
« Reply #47 on: November 13, 2003, 10:27:24 PM »
Reply with quote

GOOD NEWS: I turned on register_globals and now $path_info works!
:)

QuoteThe thing is, now I get these errors (the other ones are gone)
could you copy here the lines mentioned in the errors?

QuoteCan hardly wait to get this working!
sorry for taking some time, I'm kinda busy with life at this moment, but I'll work on it asap ;)
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
Symetrical
Jr. Member
**
Posts: 62


I'm a llama!

Re:[beta 1.5.4] Smart Urls v1.0
« Reply #48 on: November 13, 2003, 10:53:28 PM »
Reply with quote

I too cannot wait to get this working, this sounds like one brilliant mod

Errors:

Notice: Undefined index: 1 in c:\program files\apache group\apache\htdocs\index.php on line 59

Notice: Undefined offset: 1 in c:\program files\apache group\apache\htdocs\index.php on line 61

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at c:\program files\apache group\apache\htdocs\index.php:59) in c:\program files\apache group\apache\htdocs\index.php on line 265
Logged
Anguz
YaBB God
*****
Posts: 641


llama me?!

WWW
Re:[beta 1.5.4] Smart Urls v1.0
« Reply #49 on: November 13, 2003, 11:27:01 PM »
Reply with quote

I meant the code in those lines, the line numbers were in the other reply :)

but the code in them varies for us depending on installed mods and stuff...
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
Symetrical
Jr. Member
**
Posts: 62


I'm a llama!

Re:[beta 1.5.4] Smart Urls v1.0
« Reply #50 on: November 14, 2003, 12:33:46 AM »
Reply with quote

Lines 58 - 62


$arr = explode('/', $PATH_INFO);
 $arr = explode('_', $arr['1']);
 foreach($arr as $element){
  list($key, $value) = explode('-', $element);
  $$key = $value;
Logged
pege
Full Member
***
Posts: 146


Re:[beta 1.5.4] Smart Urls v1.0
« Reply #51 on: November 14, 2003, 12:49:19 AM »
Reply with quote

Quote from: Symetrical on November 13, 2003, 10:53:28 PM
I too cannot wait to get this working, this sounds like one brilliant mod...

This just seems obvious.  If you want your articles to appear in people's search engine queries, you have to have all of them indexed.  It's a must for me.  Thanks.
Logged
Anguz
YaBB God
*****
Posts: 641


llama me?!

WWW
Re:[beta 1.5.4] Smart Urls v1.0
« Reply #52 on: November 14, 2003, 04:37:50 PM »
Reply with quote

Quote from: Symetrical on November 14, 2003, 12:33:46 AM
Lines 58 - 62


$arr = explode('/', $PATH_INFO);
 $arr = explode('_', $arr['1']);
 foreach($arr as $element){
  list($key, $value) = explode('-', $element);
  $$key = $value;


that's the code to parse the urls created by a previous mod, spider_url... I don't see why it's trying to use that

could you zip your index.php and email it to me to have a look?
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
Symetrical
Jr. Member
**
Posts: 62


I'm a llama!

Re:[beta 1.5.4] Smart Urls v1.0
« Reply #53 on: November 14, 2003, 07:12:57 PM »
Reply with quote

Quote from: Anguz on November 14, 2003, 04:37:50 PM
Quote from: Symetrical on November 14, 2003, 12:33:46 AM
Lines 58 - 62


$arr = explode('/', $PATH_INFO);
 $arr = explode('_', $arr['1']);
 foreach($arr as $element){
  list($key, $value) = explode('-', $element);
  $$key = $value;


that's the code to parse the urls created by a previous mod, spider_url... I don't see why it's trying to use that

could you zip your index.php and email it to me to have a look?

Why does the ID of this mod (just downloaded the mod file again to make sure) actually say it' spider URLs?

Anyway, I sent you my index.php file
Logged
Anguz
YaBB God
*****
Posts: 641


llama me?!

WWW
Re:[beta 1.5.4] Smart Urls v1.0
« Reply #54 on: November 14, 2003, 07:20:08 PM »
Reply with quote

Quote from: Symetrical on November 14, 2003, 07:12:57 PM
Why does the ID of this mod (just downloaded the mod file again to make sure) actually say it' spider URLs?

Anyway, I sent you my index.php file

that's very easy, cause I made a mistake when writting the ID hehe  ::) :P ... fixed

I'll take a look at your index.php as soon as it arrives
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
Symetrical
Jr. Member
**
Posts: 62


I'm a llama!

Re:[beta 1.5.4] Smart Urls v1.0
« Reply #55 on: November 14, 2003, 07:43:06 PM »
Reply with quote

It should of arrived? I sent it before I replied, and to the email address shown in your profile?

Did you not get it?
Logged
pege
Full Member
***
Posts: 146


Re:[beta 1.5.4] Smart Urls v1.0
« Reply #56 on: November 14, 2003, 07:48:14 PM »
Reply with quote

Quote from: [Unknown] on November 10, 2003, 07:26:49 AM
You'd have to upgrade PHP.... I've found that changing the output buffer causes crashing and the like in PHP 4.1.x...

-[Unknown]

ok, I'm using php 4.2.2 now.  It still runs about 40% stable with the URL mod.  What more can be done to make this work?
Logged
Anguz
YaBB God
*****
Posts: 641


llama me?!

WWW
Re:[beta 1.5.4] Smart Urls v1.0
« Reply #57 on: November 14, 2003, 08:13:53 PM »
Reply with quote

Quote from: Symetrical on November 14, 2003, 07:43:06 PM
It should of arrived? I sent it before I replied, and to the email address shown in your profile?

Did you not get it?

I did now... not yet sure why it uses that part of the code if it shouldn't but try doing this change:

search for
if(!strpos($PATH_INFO, '?')){

replace
if(strpos($PATH_INFO, '?') === false){
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] Smart Urls v1.0
« Reply #58 on: November 14, 2003, 08:39:24 PM »
Reply with quote

Quote from: Symetrical on November 14, 2003, 07:43:06 PM
It should of arrived? I sent it before I replied, and to the email address shown in your profile?

Did you not get it?

I read further down the file and noticed some major differences... not in my code, but the rest... you're using Enigma... I've tested the earlier versions of this code with PfaBB and there's some issues to be solved...

you should post this in the Enigma forum to get help with the compatibility issue... I'd work on it if I had more time, but right now I'm not finding time to release the next version for YSE :P
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
Symetrical
Jr. Member
**
Posts: 62


I'm a llama!

Re:[beta 1.5.4] Smart Urls v1.0
« Reply #59 on: November 14, 2003, 08:51:29 PM »
Reply with quote

So theres no hope?
Logged
Pages: 1 2 3 [4] 5 6 ... 18 Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  [beta 1.5.4] Smart URLs v2.1 « 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.041 seconds with 20 queries.