Welcome, Guest. Please Login or Register.
October 03, 2024, 04:32:53 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  |  English User Help  |  English Help  |  2: No ending delimiter found « previous next »
Pages: [1] Reply Ignore Print
Author Topic: 2: No ending delimiter found  (Read 546 times)
thunderchild
Jr. Member
**
Posts: 52


YAY, YaBB SE finially works! Now, I LOVE YaBB SE!!

WWW
2: No ending delimiter found
« on: January 02, 2002, 09:57:40 PM »
Reply with quote

I get the following error when I try and change my profile on my new board:

QuoteAn Error Has Occurred!

2: No ending delimiter found
(./Sources/Profile.php ln 383)

Anyone got any ideas?
Logged
Zippo
Full Member
***
Posts: 181


Looking for work as male model

ICQ - 85740283ferrari_drive75@hotmail.com WWW
Re:2: No ending delimiter found
« Reply #1 on: January 03, 2002, 06:39:23 PM »
Reply with quote

I have the same problem too.  Not running in safe mode and using PHP4  and MySQL is version 3.22.32
Logged
Joseph Fung
Global Moderator
YaBB God
*****
Posts: 4512


Keep smiling: it makes others nervous.

WWW
Re:2: No ending delimiter found
« Reply #2 on: January 03, 2002, 06:45:45 PM »
Reply with quote

Verify you have something in the reserved names as specified from the admin page.

THe release you have has problems when that is blank.
Logged

Zippo
Full Member
***
Posts: 181


Looking for work as male model

ICQ - 85740283ferrari_drive75@hotmail.com WWW
Re:2: No ending delimiter found
« Reply #3 on: January 03, 2002, 06:53:06 PM »
Reply with quote

I have set three reserved names and still receive:

2: No ending delimiter found
(/home/sites/site182/web/yabbse/Sources/Profile.php ln 383)

Any other ideas please?
Logged
Joseph Fung
Global Moderator
YaBB God
*****
Posts: 4512


Keep smiling: it makes others nervous.

WWW
Re:2: No ending delimiter found
« Reply #4 on: January 03, 2002, 07:34:49 PM »
Reply with quote

if, for you lines 383-386 are
   $member['icq'] = preg_replace("[^0-9]","",$member['icq']);
    $member['bday1'] = preg_replace("[^0-9]","",$member['bday1']);
    $member['bday2'] = preg_replace("[^0-9]","",$member['bday2']);
     $member['bday3'] = preg_replace("[^0-9]","",$member['bday3']);

change them to
   $member['icq'] = preg_replace("/[^0-9]/","",$member['icq']);
    $member['bday1'] = preg_replace("/[^0-9]/","",$member['bday1']);
    $member['bday2'] = preg_replace("/[^0-9]/","",$member['bday2']);
    $member['bday3'] = preg_replace("/[^0-9]/","",$member['bday3']);
and give it a try
Logged

Zippo
Full Member
***
Posts: 181


Looking for work as male model

ICQ - 85740283ferrari_drive75@hotmail.com WWW
Re:2: No ending delimiter found
« Reply #5 on: January 03, 2002, 09:21:12 PM »
Reply with quote

Changed and now this error?

: No ending delimiter found
(/home/sites/site182/web/yabbse/Sources/Profile.php ln 404)

Logged
Joseph Fung
Global Moderator
YaBB God
*****
Posts: 4512


Keep smiling: it makes others nervous.

WWW
Re:2: No ending delimiter found
« Reply #6 on: January 03, 2002, 09:26:26 PM »
Reply with quote

hey wow! Thansk! That's one we missed in our maintenance stuff too!

$member['usertimeoffset'] = preg_replace("[^\d*|\.|\-|w*]","",$member['usertimeoffset']);

you need to add the / 's here too
$member['usertimeoffset'] = preg_replace("/[^\d*|\.|\-|w*]/","",$member['usertimeoffset']);
Logged

Zippo
Full Member
***
Posts: 181


Looking for work as male model

ICQ - 85740283ferrari_drive75@hotmail.com WWW
Re:2: No ending delimiter found
« Reply #7 on: January 03, 2002, 09:35:16 PM »
Reply with quote

Thank me? Hell thank you. perfect!  :D

(am i some kind of junior beta tester now or do I need the flounder and to pass on the $15  ;D )

Thanks again



Logged
Joseph Fung
Global Moderator
YaBB God
*****
Posts: 4512


Keep smiling: it makes others nervous.

WWW
Re:2: No ending delimiter found
« Reply #8 on: January 03, 2002, 09:36:25 PM »
Reply with quote

nah - you can do without the flounder and $15 :)
Logged

Zippo
Full Member
***
Posts: 181


Looking for work as male model

ICQ - 85740283ferrari_drive75@hotmail.com WWW
Re:2: No ending delimiter found
« Reply #9 on: January 05, 2002, 02:20:15 AM »
Reply with quote

I found another one when trying to Instant Message somone:

2: No ending delimiter found
(/home/sites/site182/web/yabbse/Sources/InstantMessage.php ln 561)

Logged
Zippo
Full Member
***
Posts: 181


Looking for work as male model

ICQ - 85740283ferrari_drive75@hotmail.com WWW
Re:2: No ending delimiter found
« Reply #10 on: January 06, 2002, 03:34:43 PM »
Reply with quote

Fixed by replacing:
$db = preg_replace("[^0-9A-Za-z#%+,-\.@^_]","",$db);

With:
$db = preg_replace("/[^0-9A-Za-z#%+,-\.@^_]/","",$db);
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  2: No ending delimiter found « 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.130 seconds with 20 queries.