ERROR PHP 5.4.7

I'm having the same problem as I do to solve the problem? Thank await answers
Fatal error: Cannot re-assign auto-global variable _FILES in /home/twbteamc/public_html/inc/images.inc.php on line 453

Quote · 23 Sep 2012

Remove the _  in _Files  on line 453 of that file.

https://dolphin-techs.com - Skype: Dolphin Techs
Quote · 24 Sep 2012

Line 453 is below the:
function moveUploadedImage( $_FILES, $fname, $path_and_name, $maxsize='', $imResize='true' )

 

what you have told me to stay that way?

function moveUploadedImage( $FILES, $fname, $path_and_name, $maxsize='', $imResize='true' )



after $FILES the removal of files in the following errors occur below:



Strict Standards: Non-static method BxDolRequest::serviceExists() should not be called statically, assuming $this from incompatible context in /home/twbteamc/public_html/inc/classes/BxDolMenu.php on line 69

Strict Standards: Non-static method BxDolRequest::_methodExists() should not be called statically, assuming $this from incompatible context in /home/twbteamc/public_html/inc/classes/BxDolRequest.php on line 72

Strict Standards: Non-static method BxDolRequest::_require() should not be called statically, assuming $this from incompatible context in /home/twbteamc/public_html/inc/classes/BxDolRequest.php on line 127

Strict Standards: Declaration of BxPageACDb::fromCache() should be compatible with BxDolDb::fromCache($sName, $sFunc) in /home/twbteamc/public_html/modules/boonex/pageac/classes/BxPageACDb.php on line 148

Strict Standards: Non-static method BxDolService::call() should not be called statically, assuming $this from incompatible context in /home/twbteamc/public_html/inc/classes/BxDolMenu.php on line 70

Strict Standards: Non-static method BxDolRequest::processAsService() should not be called statically, assuming $this from incompatible context in /home/twbteamc/public_html/inc/classes/BxDolService.php on line 54

Strict Standards: Non-static method BxDolRequest::_perform() should not be called statically, assuming $this from incompatible context in /home/twbteamc/public_html/inc/classes/BxDolRequest.php on line 64

Strict Standards: Non-static method BxDolRequest::_require() should not be called statically, assuming $this from incompatible context in /home/twbteamc/public_html/inc/classes/BxDolRequest.php on line 90

Strict Standards: Non-static method BxDolService::call() should not be called statically, assuming $this from incompatible context in /home/twbteamc/public_html/inc/classes/BxDolAlerts.php(110) : eval()'d code on line 1

Strict Standards: Non-static method BxDolRequest::processAsService() should not be called statically, assuming $this from incompatible context in /home/twbteamc/public_html/inc/classes/BxDolService.php on line 54

Strict Standards: Non-static method BxDolRequest::_perform() should not be called statically, assuming $this from incompatible context in /home/twbteamc/public_html/inc/classes/BxDolRequest.php on line 64

Strict Standards: Non-static method BxDolRequest::_require() should not be called statically, assuming $this from incompatible context in /home/twbteamc/public_html/inc/classes/BxDolRequest.php on line 90

Strict Standards: Only variables should be assigned by reference in /home/twbteamc/public_html/inc/membership_levels.inc.php on line 163

Strict Standards: Only variables should be assigned by reference in /home/twbteamc/public_html/inc/membership_levels.inc.php on line 170

Strict Standards: Non-static method BxDolRequest::serviceExists() should not be called statically, assuming $this from incompatible context in /home/twbteamc/public_html/inc/classes/BxDolPageView.php on line 174

Strict Standards: Non-static method BxDolRequest::_methodExists() should not be called statically, assuming $this from incompatible context in /home/twbteamc/public_html/inc/classes/BxDolRequest.php on line 72

Strict Standards: Non-static method BxDolRequest::_require() should not be called statically, assuming $this from incompatible context in /home/twbteamc/public_html/inc/classes/BxDolRequest.php on line 127

Strict Standards: Non-static method BxDolService::call() should not be called statically, assuming $this from incompatible context in /home/twbteamc/public_html/inc/classes/BxDolPageView.php on line 175

Strict Standards: Non-static method BxDolRequest::processAsService() should not be called statically, assuming $this from incompatible context in /home/twbteamc/public_html/inc/classes/BxDolService.php on line 54

Strict Standards: Non-static method BxDolRequest::_perform() should not be called statically, assuming $this from incompatible context in /home/twbteamc/public_html/inc/classes/BxDolRequest.php on line 64

Strict Standards: Non-static method BxDolRequest::_require() should not be called statically, assuming $this from incompatible context in /home/twbteamc/public_html/inc/classes/BxDolRequest.php on line 90

Strict Standards: Non-static method BxDolSession::getInstance() should not be called statically, assuming $this from incompatible context in /home/twbteamc/public_html/inc/classes/BxDolForm.php on line 252

Warning: Cannot modify header information - headers already sent by (output started at /home/twbteamc/public_html/inc/classes/BxDolMenu.php:69) in /home/twbteamc/public_html/inc/classes/BxDolSession.php on line 64

Strict Standards: Non-static method BxDolSession::getInstance() should not be called statically, assuming $this from incompatible context in /home/twbteamc/public_html/inc/classes/BxDolForm.php on line 267

Strict Standards: Non-static method BxDolSession::getInstance() should not be called statically, assuming $this from incompatible context in /home/twbteamc/public_html/inc/classes/BxDolForm.php on line 252

Strict Standards: Non-static method BxDolSession::getInstance() should not be called statically, assuming $this from incompatible context in /home/twbteamc/public_html/inc/classes/BxDolForm.php on line 267

Strict Standards: Non-static method BxDolSession::getInstance() should not be called statically, assuming $this from incompatible context in /home/twbteamc/public_html/inc/classes/BxDolForm.php on line 252

Strict Standards: Non-static method BxDolSession::getInstance() should not be called statically, assuming $this from incompatible context in /home/twbteamc/public_html/inc/classes/BxDolForm.php on line 267

Warning: Cannot modify header information - headers already sent by (output started at /home/twbteamc/public_html/inc/classes/BxDolMenu.php:69) in /home/twbteamc/public_html/inc/design.inc.php on line 133

Strict Standards: Non-static method BxDolService::call() should not be called statically, assuming $this from incompatible context in /home/twbteamc/public_html/inc/classes/BxDolTemplate.php(1672) : eval()'d code on line 1

Strict Standards: Non-static method BxDolRequest::processAsService() should not be called statically, assuming $this from incompatible context in /home/twbteamc/public_html/inc/classes/BxDolService.php on line 54

Strict Standards: Non-static method BxDolRequest::_perform() should not be called statically, assuming $this from incompatible context in /home/twbteamc/public_html/inc/classes/BxDolRequest.php on line 64

Strict Standards: Non-static method BxDolRequest::_require() should not be called statically, assuming $this from incompatible context in /home/twbteamc/public_html/inc/classes/BxDolRequest.php on line 90

Strict Standards: Non-static method BxDolService::call() should not be called statically, assuming $this from incompatible context in /home/twbteamc/public_html/inc/classes/BxDolTemplate.php(1672) : eval()'d code on line 1

Strict Standards: Non-static method BxDolRequest::processAsService() should not be called statically, assuming $this from incompatible context in /home/twbteamc/public_html/inc/classes/BxDolService.php on line 54

Strict Standards: Non-static method BxDolRequest::_perform() should not be called statically, assuming $this from incompatible context in /home/twbteamc/public_html/inc/classes/BxDolRequest.php on line 64

Strict Standards: Non-static method BxDolRequest::_require() should not be called statically, assuming $this from incompatible context in /home/twbteamc/public_html/inc/classes/BxDolRequest.php on line 90

Strict Standards: Only variables should be assigned by reference in /home/twbteamc/public_html/inc/membership_levels.inc.php on line 163

Strict Standards: Only variables should be assigned by reference in /home/twbteamc/public_html/inc/membership_levels.inc.php on line 170



Thank await help

Quote · 24 Sep 2012

you will have to disable strict standards and set error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT in your php.ini

If at all possible it would be easier to just switch back to php 5.3.X for the time being.

 

https://dolphin-techs.com - Skype: Dolphin Techs
Quote · 24 Sep 2012

My php.ini is not working well and continues
error_reporting = ~E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED

Quote · 24 Sep 2012

PHP.INI
file_uploads = On
max_execution_time = 600
max_input_time = 600
upload_max_filesize = 400M
post_max_size = 400M
max_execution_time = 6000
max_input_time = 6000
memory_limit = 256M

magic_quotes = Off
magic_quotes_gpc = Off
magic_quotes_runtime = Off
register_globals = Off
safe_mode = Off
allow_url_include = Off
date.timezone = America/Sao_paulo
register_globals = Off
error_reporting = ~E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
display_errors = 0

 

 

only worked after I put this line here in php.ini 

display_errors = 0

Now I wanted to know I have a problem leaving the display_errors off?

Quote · 24 Sep 2012

Yes sorry i forgot to mention that.  display errors off just means what it says, it will not display the errors on screen.

Do also note if your error log is not set to a low amount its going to grow in size every time the website is loaded.

https://dolphin-techs.com - Skype: Dolphin Techs
Quote · 25 Sep 2012

mean then that is good display_errors I leave off?

Quote · 25 Sep 2012

Thats why i am not updating to 5.4.7 plus it's still marked as experimental in easyapache

~~Mike ~~ This Signature is missing something :(
Quote · 25 Sep 2012

Or you could just follow dolphin_jays other suggestion which is to downgrade your version of php.

PHP always release 2 versions at the same time.

When PHP 5.4.7 was released, version 5.3.17 was released also. There is a reason for why there are two versions.

Dolphin 7 at least up to version 7.0.9 should not be run on the 5.4.x series of PHP. You should be running one of the 5.3.x releases.

The 5.4.x series of php makes changes in operation and elimination of features that are being phased out. It is not backwards compatible with software designed and released before PHP 5.4.x was first released. The 5.3.x series is backwards compatible.

https://www.deanbassett.com
Quote · 25 Sep 2012

Yeah.. I just did the same thing and tried to upgrade php.. It was instant crash. No worries. I simple restore backup of 5.3 and I was good to go soon as the server caught up.  Thats for the confirmation there Deano on running this with 5.3.

Quote · 23 Oct 2012

Hate to bring up an old post but my problem is relevant.

I cannot revert back on this server, and it is only one domain on it that does this;

one 7.0.x site taken to 7.1.x and since then the errors have always had to be hidden.

 

Now that I moved all the domains to a new server, all is fine except the cron job throws

the errors like in the above post. Showing in the cron reports.

PHP Strict Standards: Non-static method BxDolRequest::serviceExists() should not be called statically, assuming $this from incompatible context in...

 

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 30 Aug 2014
ADMIN TOOLS
Audit · Permissions · PHP Info
 

Software requirements

  • PHP: 5.5.9-1ubuntu4.3 - WARNING (your PHP version is probably outdated, upgrade to the latest 5.6.0 maybe required)
    • allow_url_fopen = On - OK
    • allow_url_include = Off - OK
    • magic_quotes_gpc = Off - OK
    • memory_limit = 536870912 - OK
    • post_max_size = 524288000 - OK
    • upload_max_filesize = 524288000 - OK
    • register_globals = Off - OK
    • safe_mode = Off - OK
    • disable_functions = pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, - FAIL (must be = )
    • php module: curl = curl - OK
    • php module: gd = gd - OK
    • php module: mbstring = mbstring - OK
    • php module: xsl = xsl - OK
    • php module: json = json - OK
    • php module: openssl = openssl - OK
    • php module: zip = zip - OK
    • php module: ftp = ftp - OK
  • MySQL: 5.5.38-0ubuntu0.14.04.1 - OK
  • Web-server: Apache/2.4.7
    • rewrite_module - UNDEFINED (try to check manually: apachectl -M 2>&1 | grep rewrite_module)
  • OS: Linux floridabeachwebcams.com 3.13.0-34-generic #60-Ubuntu SMP Wed Aug 13 15:49:09 UTC 2014 i686

Hardware requirements

Hardware requirements can not be determined automatically - manual server audit may be reqired.

Site setup

  • Dolphin version = 7.1.4 - OK
  • files and folders permissions 
    Please click here to find out if dolphin permissions are correct.
  • ffmpeg
    ffmpeg version 0.10 Copyright (c) 2000-2012 the FFmpeg developers
      built on Feb  2 2012 01:28:23 with gcc 4.4.3
      configuration: --extra-ldflags=-static --extra-cflags=-static --enable-static --disable-shared --enable-ffplay --disable-ffprobe --disable-ffserver --enable-runtime-cpudetect --enable-memalign-hack --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libtheora --enable-libvorbis --enable-libmp3lame --enable-libxvid --enable-libvpx --enable-gpl --enable-nonfree --enable-pthreads --enable-libopenjpeg --enable-zlib --enable-bzlib --enable-libxavs --enable-libdirac --enable-libschroedinger --enable-libvo-amrwbenc --enable-libfreetype --enable-libnut --enable-libspeex --enable-libaacplus --enable-libfaac --enable-small --enable-libass --enable-libdc1394 --enable-librtmp --enable-openssl --enable-frei0r --enable-libopencv
      libavutil      51. 34.101 / 51. 34.101
      libavcodec     53. 60.100 / 53. 60.100
      libavformat    53. 31.100 / 53. 31.100
      libavdevice    53.  4.100 / 53.  4.100
      libavfilter     2. 60.100 /  2. 60.100
      libswscale      2.  1.100 /  2.  1.100
      libswresample   0.  6.100 /  0.  6.100
      libpostproc    52.  0.100 / 52.  0.100
    Hyper fast Audio and Video encoder
    usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...
    
    Use -h to get full help or, even better, run 'man ffmpeg'
    
    if you don't know if output is correct then manual server audit may be reqired.
  • mail sending - click here to send test email to
  • cronjobs
    @hourly cd /home/floridabeachwebcams/public_html/periodic; /usr/bin/php -q cron.php
    
    if you are unsure if output is correct then manual server audit may be reqired.
  • media server 
    Please follow this link to check media server settings. Also you can try video chat - if video chat is working then most probably that flash media server is working correctly, however it doesn't guarantee that all other flash media server application will work.
  • forums 
    Please follow this link to check if forum is functioning properly. If it is working but '[L[' signs are displayed everywhere, then you need to compile language file (you maybe be need to compile language file separately for every language and template you have).

Site optimization

  • PHP:
    • PHP accelerator = NO - WARNING (Dolphin can be much faster if you install some PHP accelerator))
    • PHP setup = cgi-fcgi - OK
  • MySQL:
    • key_buffer_size = 402653184 - OK
    • query_cache_limit = 1048576 - OK
    • query_cache_size = 33554432 - OK
    • query_cache_type = ON - OK
    • max_heap_table_size = 16777216 - OK
    • tmp_table_size = 16777216 - OK
    • thread_cache_size = 8 - OK
  • Web-server:
    • User-side caching for static conten = click here to check it in Google Page Speed 
      If it is not enabled then please consider implement this optimization, since it improve perceived site speed and save the bandwidth, refer to this tutorial on how to do this. 
      To apply this optimization you need to have expires_module Apache module - UNDEFINED (try to check manually: apachectl -M 2>&1 | grep expires_module)
    • Server-side content compression = can be checked manually or in "Page Speed" tool build-in into browser. 
      If it is not enabled then please consider implement this optimization, since it improve perceived site speed and save the bandwidth, refer to this tutorial on how to do this. 
      To apply this optimization you need to have deflate_module Apache module - UNDEFINED (try to check manually: apachectl -M 2>&1 | grep deflate_module)
  • Dolphin:
    • DB cache = Off (File based cache engine) - FAIL (please enable this cache in Dolphin Admin Panel -> Settings -> Advanced Settings)
    • Page blocks cache = Off (File based cache engine) - FAIL (please enable this cache in Dolphin Admin Panel -> Settings -> Advanced Settings)
    • Member menu cache = On (File based cache engine) - WARNING (installing PHP accelerator will speed-up file cache)
    • Templates Cache = Off (FileHtml based cache engine) - FAIL (please enable this cache in Dolphin Admin Panel -> Settings -> Advanced Settings)
    • CSS files cache = Off - FAIL (please enable this cache in Dolphin Admin Panel -> Settings -> Advanced Settings)
    • JS files cache = Off - FAIL (please enable this cache in Dolphin Admin Panel -> Settings -> Advanced Settings)
    • Compression for CSS/JS cache = Off - FAIL (please enable this cache in Dolphin Admin Panel -> Settings -> Advanced Settings)
ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 30 Aug 2014

The cronjobs run a stand-alone version of PHP. If you disabled the warning messages in your local php.ini file, it most likely is not set for the stand-alone version that is used by the cronjobs.

Dedicated servers for as little as $32 (28 euro) - See http://denre.com for more information
Quote · 30 Aug 2014

 RE

If you disabled the warning messages in your local php.ini file, it most likely is not set for the stand-alone version that is used by the cronjobs.

 I have it off for all.

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 30 Aug 2014

inc/classes/BxDolGzip.php  

file php code below

<?

error_reporting(0);

this problem is resolved.

Quote · 8 Jan 2015

@

Does it work if I just put it in the file anywhere?

Quote · 8 Jun 2015

 

@

Does it work if I just put it in the file anywhere?

Instead of jumping into an old thread, why not post your problem in a new post.

Geeks, making the world a better place
Quote · 8 Jun 2015
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.