Jump to content

Deprecated: Function ereg_replace() is deprecated in /home/user/public_html/includes/functions.php on line 62


taliaolga

Recommended Posts

When I type my Website URL It's all right. But When I press the sub-category to view the inner content then the problem is occur. There is 5 folder in my public_html..

They are:

1.admin

2.avatars

3.FTP

4.images

5.includes

and some php files. This is a script.

I can't php.

###There's some Error...

Deprecated: Function ereg_replace() is deprecated in /home/exwggayd/public_html/includes/functions.php on line 62

 

Deprecated: Assigning the return value of new by reference is deprecated in /home/exwggayd/public_html/includes/phpflickr/phpFlickr.php on line 91

Deprecated: Assigning the return value of new by reference is deprecated in /home/exwggayd/public_html/includes/phpflickr/phpFlickr.php on line 330

Deprecated: Assigning the return value of new by reference is deprecated in /home/exwggayd/public_html/includes/phpflickr/phpFlickr.php on line 399

Deprecated: Assigning the return value of new by reference is deprecated in /home/exwggayd/public_html/includes/phpflickr/phpFlickr.php on line 468

Deprecated: Assigning the return value of new by reference is deprecated in /home/exwggayd/public_html/includes/phpflickr/PEAR/HTTP/Request.php on line 228

Deprecated: Assigning the return value of new by reference is deprecated in /home/exwggayd/public_html/includes/phpflickr/PEAR/HTTP/Request.php on line 324

Deprecated: Assigning the return value of new by reference is deprecated in /home/exwggayd/public_html/includes/phpflickr/PEAR/HTTP/Request.php on line 602

Deprecated: Assigning the return value of new by reference is deprecated in /home/exwggayd/public_html/includes/phpflickr/PEAR/HTTP/Request.php on line 621

Strict Standards: Redefining already defined constructor for class Net_URL in /home/exwggayd/public_html/includes/phpflickr/PEAR/Net/URL.php on line 122

Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /home/exwggayd/public_html/includes/phpflickr/PEAR/HTTP/Request.php on line 590

Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /home/exwggayd/public_html/includes/phpflickr/PEAR/HTTP/Request.php on line 591

Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /home/exwggayd/public_html/includes/phpflickr/PEAR/HTTP/Request.php on line 603

#####

The function.php inside the "includes" folder...may be there is the problem. But When I reload the page Everything Seems allright.

Here is the Codes...Paste on Pastebin!!

#function.php# hxxp://pastebin.com/PR4RKSJS

#phpFlickr.php# hxxp://pastebin.com/zzaVehBx

#Request.php# hxxp://pastebin.com/MPfq5zAL

#URL.php# hxxp://pastebin.com/yDMvA7e5

yeah..not gonna bother sorting through a shitton of code, but it sounds like you have a really old script and your host got around to upgrading to a more recent version of php.  

 

As for the specific error mentioned in your thread title: http://forums.phpfreaks.com/topic/268091-ereg-and-deprecated-error/

 

Overall my suggestion to you would be to take the time to rewrite your script with updated code, or find someone to do it for you (which will most certainly involve money).

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.