UnlimitedMB.comUnlimitedMB.com
Home    |    About Us    |    Forums    |    Signup    |    Login    |    Support
UnlimitedMB.com


 
UnlimitedMB.com



Go Back   UnlimitedMB.com Forums > Web Hosting > Account Services

Reply
 
Thread Tools Display Modes
[Merged] Various PHP Errors - Reply here DO NOT make new threads
  #1  
Old 04-10-2010
newway newway is offline
Member
 
Join Date: Dec 2006
Posts: 59
Default[Merged] Various PHP Errors - Reply here DO NOT make new threads

Been seeing, and experiencing random script errors for the last couple hours. I don't want to paste all the errors, but I hope the following helps to solve problems.

For example, when I view a thread here, I get:
Deprecated: Assigning the return value of new by reference is deprecated in /usr/home/ulmb/unlimitedmb.com/forum/showthread.php on line (5 different line numbers)


When I view my domain theotherforums.com, I get the following at the top of the index, and other random errors when loading:
Quote:
[phpBB Debug] PHP Notice: in file /index.php on line 86: 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 'UTC' for 'UTC/0.0/no DST' instead
[phpBB Debug] PHP Notice: in file /index.php on line 86: getdate() [function.getdate]: 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 'UTC' for 'UTC/0.0/no DST' instead
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4183: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4185: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4186: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4187: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
Reply With Quote
Errors on site.
  #2  
Old 04-10-2010
sheepy sheepy is offline
Member
 
Join Date: Jul 2006
Location: South West UK
Posts: 47
DefaultErrors on site.

Woke up this morning, visited my site an im getting a shed load of errors.
I have not edited anything on my site or made any changes to any settings recently.

Also when i logged into ulmb forums i had some errors about DST settings.

The errors im recieving are -
Quote:
[phpBB Debug] PHP Notice: in file /includes/functions_messenger.php on line 390: 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 'UTC' for 'UTC/0.0/no DST' instead

Warning: Cannot modify header information - headers already sent by (output started at /hosted/subs/ulmb.com/t/h/theory/public_html/forums/includes/functions.php:3498) in /hosted/subs/ulmb.com/t/h/theory/public_html/forums/includes/functions.php on line 4204

Warning: Cannot modify header information - headers already sent by (output started at /hosted/subs/ulmb.com/t/h/theory/public_html/forums/includes/functions.php:3498) in /hosted/subs/ulmb.com/t/h/theory/public_html/forums/includes/functions.php on line 4206

Warning: Cannot modify header information - headers already sent by (output started at /hosted/subs/ulmb.com/t/h/theory/public_html/forums/includes/functions.php:3498) in /hosted/subs/ulmb.com/t/h/theory/public_html/forums/includes/functions.php on line 4207

Warning: Cannot modify header information - headers already sent by (output started at /hosted/subs/ulmb.com/t/h/theory/public_html/forums/includes/functions.php:3498) in /hosted/subs/ulmb.com/t/h/theory/public_html/forums/includes/functions.php on line 4208

Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 491520 bytes) in /hosted/subs/ulmb.com/t/h/theory/public_html/forums/cache/tpl_prosilver-se_overall_header.html.php on line 184
You can see here - http://theory.ulmb.com

**EDIT**
After i posted this these error appeared at the top of the page -
Quote:
Deprecated: Assigning the return value of new by reference is deprecated in /usr/home/ulmb/unlimitedmb.com/forum/showthread.php on line 639

Deprecated: Assigning the return value of new by reference is deprecated in /usr/home/ulmb/unlimitedmb.com/forum/showthread.php on line 1041

Deprecated: Assigning the return value of new by reference is deprecated in /usr/home/ulmb/unlimitedmb.com/forum/showthread.php on line 1046

Deprecated: Assigning the return value of new by reference is deprecated in /usr/home/ulmb/unlimitedmb.com/forum/showthread.php on line 1518

Deprecated: Assigning the return value of new by reference is deprecated in /usr/home/ulmb/unlimitedmb.com/forum/showthread.php on line 1523
__________________
theory.ulmb.com
Reply With Quote
Serious Problems - PHP related?
  #3  
Old 04-10-2010
tdj tdj is offline
Member
 
Join Date: Feb 2007
Location: Australia
Posts: 49
DefaultSerious Problems - PHP related?

Hi,
I am having errors that have made it so my site is no longer working. These all seem PHP related. Some my be due to specific plugins I use however I cannot access the admin panel of site (which uses Joomla) to remove them, due to errors like those on the front page. I pasted the errors which are displaying at muntedmedia.com below.
Deprecated: Function ereg() is deprecated in /hosted/domains/m/u/muntedmedia.com/public_html/plugins/system/iewarning.php on line 22

Deprecated: Function ereg() is deprecated in /hosted/domains/m/u/muntedmedia.com/public_html/plugins/system/iewarning.php on line 30

Deprecated: Assigning the return value of new by reference is deprecated in /hosted/domains/m/u/muntedmedia.com/public_html/plugins/system/nonumberelements.php on line 55

Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 7680 bytes) in /hosted/domains/m/u/muntedmedia.com/public_html/libraries/joomla/filter/filteroutput.php on line 106

Similar errors are being returned when trying to view topics on your forums. This seriously needs to be addressed asap obviously something is wrong, or at least changed, on your end.
__________________
If you're finished reading my post, and eating that sandwich, Visit my site www.furgelnod.com.
Reply With Quote
ulmb having problems
  #4  
Old 04-10-2010
mixedbeats mixedbeats is online now
Member
 
Join Date: Feb 2010
Location: uk yeovil somerset
Posts: 68
Defaultulmb having problems

i guess your having problems right ?

i get an error message when ever i visit a page within my site but if i refresh its all fixed

can you verify its you before i start hunting for problems i will post the error message here as soon as i get it again


Fatal error: Unknown: Failed opening required '/hosted/domains/z/i/zizrat.com/public_html/index.php' (include_path='.:/usr/local/share/pear') in Unknown on line 0

as i said a simple page refresh and its fixed

Last edited by mixedbeats; 04-10-2010 at 11:28 AM..
Reply With Quote
  #5  
Old 04-10-2010
UnlimitedMB UnlimitedMB is offline
Administrator
 
Join Date: Jun 2006
Posts: 3,472
Default

PHP on the server has been upgraded to 5.3.2.

I have edited the server config to hide the depreciated errors and fixed the timezone problem.
You should upgrade your scripts to the latest versions.
PHP 5.3 has been out for months now, there should be updates available for all scripts to work with it.
__________________
Eric,
Admin
Reply With Quote
Help
  #6  
Old 04-10-2010
fifalife fifalife is offline
Junior Member
 
Join Date: Mar 2008
Posts: 10
DefaultHelp

Hi

Can someone tell me why i keep coming up with this message.

Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 7680 bytes) in /hosted/subs/ulmb.com/f/i/fifalife/public_html/libraries/joomla/utilities/simplexml.php(335) : eval()'d code on line 1

my site worked fine last night
__________________
www.fifalife.ulmb.com - 1v1 fifa xbox360 site
Reply With Quote
  #7  
Old 04-10-2010
mixedbeats mixedbeats is online now
Member
 
Join Date: Feb 2010
Location: uk yeovil somerset
Posts: 68
Default

My script is upto date but still get the error.
Reply With Quote
  #8  
Old 04-10-2010
tdj tdj is offline
Member
 
Join Date: Feb 2007
Location: Australia
Posts: 49
Default

Fatal error: Allowed memory size of 16777216 bytes exhausted
(tried to allocate 7680 bytes) in /hosted/domains/m/u/muntedmedia.com/public_html/libraries/joomla/filter/filteroutput.php
on line 106
I am still this error, as noted previously, and the script I use is up to date (Joomla v. 1.5.15). Also I checked if the particular file which the error refers to is updated in the development releases, it is not. EDIT: I just tried the admin back end of Joomla and am experiencing the same " Allowed memory size of 16777216 bytes exhausted " error on different scripts.
I have worked out the offending functions, which I list below, however removing them is not an option as they are part of the main framework for Joomla and are referred to by many other scripts. Is it possible this error can be overcome on your end or am I going to need to seek answers from the developers of Joomla?


PHP Code:
    /**
    * Replaces & with & for xhtml compliance
    *
    *  There must be a better way???
    *
    * 
    *  1.5
    */
    
function ampReplace$text )
    {
        
$text str_replace'&&''*--*'$text );
        
$text str_replace'&#''*-*'$text );
        
$text str_replace'&''&'$text );
        
$text preg_replace'|&(?![\w]+;)|''&'$text );
        
$text str_replace'*-*''&#'$text );
        
$text str_replace'*--*''&&'$text );

        return 
$text;
    }

    
/**
     * Callback method for replacing & with & in a string
     *
     * 
     *     string    $m    String to process
     *     string    Replaced string
     *     1.5
     */
    
function _ampReplaceCallback$m )
    {
         
$rx '&(?!amp;)';
         return 
preg_replace'#'.$rx.'#''&'$m[0] );
    }

    
/**
    * Cleans text of all formating and scripting code
    */
    
function cleanText ( &$text )
    {
        
$text preg_replace"']*>.*?'si"''$text );
        
$text preg_replace'/]*>([^<]+)<\/a>/is''\2 (\1)'$text );
        
$text preg_replace'//'''$text );
        
$text preg_replace'/{.+?}/'''$text );
        
$text preg_replace'/ /'' '$text );
        
$text preg_replace'/&/'' '$text );
        
$text preg_replace'/"/'' '$text );
        
$text strip_tags$text );
        
$text htmlspecialchars$text );
        return 
$text;
    } 
__________________
If you're finished reading my post, and eating that sandwich, Visit my site www.furgelnod.com.

Last edited by tdj; 04-10-2010 at 04:47 PM.. Reason: additional information
Reply With Quote
  #9  
Old 04-10-2010
UnlimitedMB UnlimitedMB is offline
Administrator
 
Join Date: Jun 2006
Posts: 3,472
Default

Quote:
Originally Posted by mixedbeats View Post
My script is upto date but still get the error.
Your site says " Fatal error: Unknown: Failed opening required '/hosted/domains/zizrat.com/public_html/index.php' (include_path='.:/usr/local/share/pear') in Unknown on line 0 "

You are using the wrong path.
Your file is at /hosted/domains/z/i/zizrat.com/public_html/index.php
NOT /hosted/domains/zizrat.com/public_html/index.php
__________________
Eric,
Admin
Reply With Quote
Fatal Error
  #10  
Old 04-10-2010
sheepy sheepy is offline
Member
 
Join Date: Jul 2006
Location: South West UK
Posts: 47
DefaultFatal Error

After Eric did the upgrade on the on the server all the error messages disappeared.

I'm now trying to update my phpbb3 forums to the latest version.
3.0.6 to 3.0.7-PL1

I get half way through the update an get a memory error message.

Code:
Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 32 bytes) in /hosted/subs/ulmb.com/t/h/theory/public_html/forums/includes/diff/engine.php on line 151
Any ideas why??
__________________
theory.ulmb.com

Last edited by sheepy; 04-10-2010 at 07:00 PM..
Reply With Quote
Reply

Tags
php errors serious

« Previous Thread | Next Thread »
Thread Tools
Show Printable VersionShow Printable Version
Email this PageEmail this Page
Display Modes
Linear ModeLinear Mode
Hybrid ModeSwitch to Hybrid Mode
Threaded ModeSwitch to Threaded Mode

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Rules
Forum Jump


All times are GMT. The time now is 04:44 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.







 



UnlimitedMB.com © 2006
Terms of Use | Report Abuse