Warning: date() [function.date] and more bugs *Updatet*

Bug Reporting and Feature Suggestions /Improvements go here.

Moderator: pgolovko

Warning: date() [function.date] and more bugs *Updatet*

Postby Chipman » 12/15/2009 11:21 am

hy,

php version 5.3.1 i have this problem:

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in /home/xxxxx/www.xxxxxx.de/admin/spider.php on line 148
URL: http://www.xxxxx.de/
Status: HTTP/1.1 200 OK
Referer-URL:
Content received: 14939 bytes
Deprecated: Function eregi() is deprecated in /home/xxxxxx/www.xxxxxx.de/admin/spider.php on line 195

XXXXXXX: Leitseite
http://www.xxxxxxx.de/ (PR5, Recip: NO)

Page already indexed. Updating ....



with php version 4.4.9 is this problem not activ

mfg.
chipman
Last edited by Chipman on 12/18/2009 1:00 pm, edited 2 times in total.
Chipman
 
Posts: 26
Joined: 04/09/2007 11:42 am


Re: Warning: date() [function.date]

Postby gc_rjauregui » 12/16/2009 12:16 am

It looks like you need to set an existent timezone as php does not recognize 'CET/1.0/no DST' as a true timezone.

Look for 'date.timezone' in the php.ini and set it to a supported timezone.

Check: http://nl3.php.net/manual/en/timezones.php
Best Regards,

Ryan Jauregui
geekcoders development member

laf innovative | development blog
User avatar
gc_rjauregui
Site Admin
 
Posts: 394
Joined: 03/25/2006 1:23 am
Location: Stanton, CA

Re: Warning: date() [function.date]

Postby Chipman » 12/17/2009 1:31 pm

o.k. thanks this bug is emty!

Code: Select all
; Defines the default timezone used by the date functions
date.timezone = Europe/Berlin

;date.default_latitude = 31.7667
;date.default_longitude = 35.2333

;date.sunrise_zenith = 90.583333
;date.sunset_zenith = 90.583333





i have a new problem:



Deprecated: Assigning the return value of new by reference is deprecated in /home/xx/xx/admin/spider.php on line 265
Deprecated: Function eregi() is deprecated in /home/xxxx/xxx/admin/spider.php on line 195

Notice: Undefined offset: 1 in /home/xxx/xxxxx/admin/spider.php on line 176
Chipman
 
Posts: 26
Joined: 04/09/2007 11:42 am

Re: Warning: date() [function.date] and more bugs

Postby gc_rjauregui » 12/17/2009 1:43 pm

I will have to make some changes in the code on spider.php

I will work on that tonight and get a fix out ASAP.
Best Regards,

Ryan Jauregui
geekcoders development member

laf innovative | development blog
User avatar
gc_rjauregui
Site Admin
 
Posts: 394
Joined: 03/25/2006 1:23 am
Location: Stanton, CA

Re: Warning: date() [function.date]

Postby gc_rjauregui » 12/18/2009 11:40 am

Chipman wrote:
i have a new problem:



Deprecated: Assigning the return value of new by reference is deprecated in /home/xx/xx/admin/spider.php on line 265
Deprecated: Function eregi() is deprecated in /home/xxxx/xxx/admin/spider.php on line 195

Notice: Undefined offset: 1 in /home/xxx/xxxxx/admin/spider.php on line 176


These bugs, among a few others should be fixed now in version 1.3.6
Best Regards,

Ryan Jauregui
geekcoders development member

laf innovative | development blog
User avatar
gc_rjauregui
Site Admin
 
Posts: 394
Joined: 03/25/2006 1:23 am
Location: Stanton, CA

Re: Warning: date() [function.date] and more bugs

Postby Chipman » 12/18/2009 12:09 pm

o.k. i testing.............
Chipman
 
Posts: 26
Joined: 04/09/2007 11:42 am

Re: Warning: date() [function.date] and more bugs

Postby Chipman » 12/18/2009 12:49 pm

o.k. i testing with old bugs fixed and i have new bugs:


Code: Select all
Warning: preg_match() [function.preg-match]: Unknown modifier '(' in /home/xxxx/xxx/admin/functions.php on line 1084
New link added:
URL: http://www.xxxx.de
Title: Weiterleitung
Email:
Description:
Category id: 16



and

Code: Select all
Crawling: .............
Status: HTTP/1.1 200 OK
Referer-URL: http://www.xxxx.de/
Content received: 102423 bytes
Warning: preg_match() [function.preg-match]: Unknown modifier '(' in /home/xxxx/xxx/admin/spider.php on line 195
........................(PR5, Recip: NO)




and index.php?adp=links&action=recip

Code: Select all
http://www.xxxx.de
Warning: preg_match() [function.preg-match]: Unknown modifier '(' in /home/xxx/www.xxx.de/admin/links.php on line 362
NO

http://www.xxx.de
Warning: preg_match() [function.preg-match]: Unknown modifier '(' in /home/xxxx/www.xxx.de/admin/links.php on line 362
NO

Finished!



and index.php?adp=pages&action=recip

Code: Select all
http://www.xxxx.de/smilys.php
Warning: preg_match() [function.preg-match]: Unknown modifier '(' in /home/xxxx/www.xxxx.de/admin/pages.php on line 179


and index.php?adp=import&action=dmoz

Code: Select all
Warning: preg_match() [function.preg-match]: Unknown modifier 'a' in /home/xxxxx/www.xxxxx.de/admin/import.php on line 63
Adult (0)
   
Chipman
 
Posts: 26
Joined: 04/09/2007 11:42 am

Re: Warning: date() [function.date] and more bugs *Updatet*

Postby gc_rjauregui » 12/18/2009 2:01 pm

I will look into this, sorry about that.
Best Regards,

Ryan Jauregui
geekcoders development member

laf innovative | development blog
User avatar
gc_rjauregui
Site Admin
 
Posts: 394
Joined: 03/25/2006 1:23 am
Location: Stanton, CA

Re: Warning: date() [function.date] and more bugs *Updatet*

Postby gc_rjauregui » 12/19/2009 12:07 am

Chipman,

Redownload the 1.3.6 package and upload all the files except for the /templates/ folder, install.php and update.php

Log in to your admin area and navigate to Config and change your recip regular expression to something like the following:
Code: Select all
/<a(\s*)href="http:\/\/(.*)yourdomain.tld(.*)">([^\n]+)<\/a>/


Then navigate to the Spider subsection and change Receive Content Type to the following:
Code: Select all
/text/html/


You should hopefully have no more errors.
Best Regards,

Ryan Jauregui
geekcoders development member

laf innovative | development blog
User avatar
gc_rjauregui
Site Admin
 
Posts: 394
Joined: 03/25/2006 1:23 am
Location: Stanton, CA

Re: Warning: date() [function.date] and more bugs *Updatet*

Postby Chipman » 12/19/2009 11:39 am

hy ryan,

thank you, i have no bugs more!

mfg.
chipman
Chipman
 
Posts: 26
Joined: 04/09/2007 11:42 am

Re: Warning: date() [function.date] and more bugs *Updatet*

Postby antananarivu11 » 12/19/2009 8:30 pm

hi,
instaled latest version 1 3 6
i try to check recip. link and - Warning: preg_match() [function.preg-match]: Unknown modifier '(' ..... /admin/links.php on line 362
NO

please anybody, help me to fix it !
antananarivu11
 
Posts: 3
Joined: 12/19/2009 8:15 pm

Re: Warning: date() [function.date] and more bugs *Updatet*

Postby gc_rjauregui » 12/20/2009 12:33 am

antananarivu11 wrote:hi,
instaled latest version 1 3 6
i try to check recip. link and - Warning: preg_match() [function.preg-match]: Unknown modifier '(' ..... /admin/links.php on line 362
NO

please anybody, help me to fix it !


Did you try the above fix I gave to Chipman? Please double check that you have made the necessary changes.

If not, please post the regex code you are using for the recip checking so I can help you fix it.
Best Regards,

Ryan Jauregui
geekcoders development member

laf innovative | development blog
User avatar
gc_rjauregui
Site Admin
 
Posts: 394
Joined: 03/25/2006 1:23 am
Location: Stanton, CA

Re: Warning: date() [function.date] and more bugs *Updatet*

Postby rachael » 12/31/2009 3:33 am

Hi, I had the same problem as above and applied the fix which has fixed the bug, but when people are submitting a link it can not find the recip.

so when I use this:
/<a(\s*)href="http:\/\/(.*)yourdomain.tld(.*)">([^\n]+)<\/a>/
the spider works when I "check the recips" but when people are submitting it can not find the recip.

But when I use this:
<a(.*)href="http://(.*)yourdomain.tld(.*)>(.*)</a>
the "check the recips" comes back with errors, but people can submit their sites and the recip is found
rachael
 
Posts: 4
Joined: 12/30/2009 7:31 am

Re: Warning: date() [function.date] and more bugs *Updatet*

Postby gc_rjauregui » 12/31/2009 9:29 am

rachael, can you PM me your sites information so I can take a look?

Thanks.
Best Regards,

Ryan Jauregui
geekcoders development member

laf innovative | development blog
User avatar
gc_rjauregui
Site Admin
 
Posts: 394
Joined: 03/25/2006 1:23 am
Location: Stanton, CA

Re: Warning: date() [function.date] and more bugs *Updatet*

Postby rachael » 12/31/2009 11:40 am

pm sent :)
rachael
 
Posts: 4
Joined: 12/30/2009 7:31 am

Re: Warning: date() [function.date] and more bugs *Updatet*

Postby rachael » 12/31/2009 12:27 pm

All fixed, thanks ever so much :)
rachael
 
Posts: 4
Joined: 12/30/2009 7:31 am

Re: Warning: date() [function.date] and more bugs *Updatet*

Postby antananarivu11 » 07/07/2010 8:45 pm

hello,
checking rec,links I get

Code: Select all
Warning: preg_match() [function.preg-match]: Unknown modifier '\' in /home/xxxxx/domains/mydomain.org/public_html/admin/links.php  on line 327
NO


line 327
Code: Select all
               $res = preg_match('/' . preg_quote(cfg("recip_regex") . '/'), fetchURL($row['url'])) ? 1 : 0;


I use
Code: Select all
/<a(\s*)href="http:\/\/(.*)mydomain.org(.*)">([^\n]+)<\/a>/


and
content type

text/html

how to fix this warning?

thanks for answer
antananarivu11
 
Posts: 3
Joined: 12/19/2009 8:15 pm

Re: Warning: date() [function.date] and more bugs *Updatet*

Postby gc_rjauregui » 07/08/2010 2:19 pm

What version are you running?
Best Regards,

Ryan Jauregui
geekcoders development member

laf innovative | development blog
User avatar
gc_rjauregui
Site Admin
 
Posts: 394
Joined: 03/25/2006 1:23 am
Location: Stanton, CA

Re: Warning: date() [function.date] and more bugs *Updatet*

Postby antananarivu11 » 07/08/2010 5:11 pm

yesterday I install last version ADP v1.3.9
antananarivu11
 
Posts: 3
Joined: 12/19/2009 8:15 pm



Return to Bug Reporting

Who is online

Users browsing this forum: No registered users and 0 guests

cron