Typo3 PHP Strict Standards: Non-static method t3lib_div::getClassName() - typo3

When the website is requested following pops up in the error logs
[Wed Oct 28 12:27:38.884831 2015] [:error] [pid 5245] [client
82.198.211.146:43605] PHP Strict Standards: Non-static method t3lib_div::getClassName() should not be called statically in
/var/www/website.org/t3lib/class.t3lib_div.php on line 5338
I already googled it and inserted this into /typo3conf/localconf.php
$TYPO3_CONF_VARS['SYS']['exceptionalErrors'] = E_ALL ^ E_NOTICE ^ E_DEPRECATED ^ E_WARNING ^ E_USER_ERROR ^ E_USER_NOTICE ^ E_USER_WARNING ^ E_STRICT;
But this didn't help. My typo3 version is 4.5 and my php version is 5.5.9-1. I am running my webservice on an apache2 server on ubuntu 14.04. Do you know why I get this error?

The root cause is that you are using an old TYPO3 version, which is not fully compatible to PHP 5.5. TYPO3 4.5 is at its end of life since March 2015. So updating TYPO3 would be the best solution.
Another, more immediate solution would be to set error_reporting in your php.ini to something excluding E_STRICT.

Related

Using Render hosting app to deploy my project- Error Cannot find module

Follows Heroku becoming a paid app, I am trying other options.
Does anyone have experience uploading a MongoDB server-based project to "Render" Application Hosting?
This is the repo I want to deploy:
https://github.com/myyoss/FUNDLE_A_WORDLE_CLONE
On the app settings I use for the Build Command: "yarn" (and it seems to works cause I get "Build successful" message).
But for the Start Command I can't get the correct command/path.
I keep getting this error:
==> Build successful :
Oct 7 06:41:33 PM ==> Deploying…
Oct 7 06:42:01 PM ==> Starting service with ‘node dist/server.js’
Oct 7 06:42:06 PM internal/modules/cjs/loader.js:888
Oct 7 06:42:06 PM throw err;
Oct 7 06:42:06 PM ^
Oct 7 06:42:06 PM
Oct 7 06:42:06 PM Error: Cannot find module ‘…/routes/userRoutes’
Can someone please take a look at the repo LINK and tell me what I'm doing wrong?
On an other project I used "node dist/server.js" for the Start Command and it worked just fine.
I think your problem may be here, where you use "../routes/userRoutes". You want to use "./routes/userRoutes" since the location of that file is relative to the root directory, ./
This answer may be helpful re: routing errors, and Render's quickstart for Node/Express is also worth a look.

Protocol error when using Net:SSH:Perl module

I have a script that uses Net::SSH:Perl module. It is able to ssh to RHEL6.9 hosts but not RHEL7.4 hosts. I get the following error:
Protocol error: expected packet type 91, got 80 at /Net/SSH/Perl/Packet.pm line 221
How do I remedy this?
A simple search for the error message gives this post from 2016 and this bug report from 2016 which both indicate that the issue was fixed in version 2.01 of the module, released in 10/2016. Thus, you are probably using an older version and need to upgrade.

FreeRadius 3.0.8 installation error of rlm_perl

I have installed freeradius 3.0.8 and I want to integrate or connect it with perl and for that I enter perl in /usr/local/etc/raddb/mods-available/perl and /usr/local/etc/raddb/sites-available/default is also edited as per instructions on http://wiki.freeradius.org/modules/Rlm_perl.
After entering radiusd -Xxx, I got the following error:
-Wed Jun 3 18:43:10 2015 : Error: /usr/local/etc/raddb/sites-enabled/default[477]: Failed to find "Perl" as a module or policy.
-Wed Jun 3 18:43:10 2015 : Error: /usr/local/etc/raddb/sites-enabled/default[477]: Please verify that the configuration exists in /usr/local/etc/raddb/mods-enabled/Perl.
-Wed Jun 3 18:43:10 2015 : Error: /usr/local/etc/raddb/sites-enabled/default[447]: Errors parsing authenticate section.
However, I also created symbolic link and the error pasted above is after creating symbolic link.
Please help me in resolving this issue.
It should be 'perl' not 'Perl' (you have the capitalisation wrong).

Unable to run ./cim.sh for ATG 10.1.2 using Weblogic App Server

Hi Everyone,
I have installed ATG 10.1.2 , along with CRS , Search , CSC on my Linux machine. I'm using weblogic as my application server. However, when i try to run ./cim.sh , I get an error which is as follows
It says that its unable to find the class weblogic.utils.classloaders.ClassFinder .
I have set my environment variables as follows :
export JAVA_HOME=/home/install/mediaStore/jdk1.6.0_41
export PATH=$JAVA_HOME/bin:/home/install/software/ant/apache-ant-1.8.2/bin:/home/install/Oracle11gR2/install/product/11.2.0/dbhome_1/bin:$PATH
export ANT_HOME=/home/install/software/ant/apache-ant-1.8.2
export PATH=$PATH:ANT_HOME/bin
export DYNAMO_ROOT=/home/install/mediaStore/ATG/ATG10.1.2
export DYNAMO_HOME=$DYNAMO_ROOT/home
export ATGJRE=$JAVA_HOME/bin/java
export CLASSPATH=/home/install/Oracle11gR2/install/product/11.2.0/dbhome_1/jdbc/lib/ojdbc6.jar:$CLASSPATH
export WEBLOGIC_HOME=/home/install/mediaStore/Weblogic
export WEBLOGIC_SERVER=$WEBLOGIC_HOME/wlserver_12.1
[install#JJPLRHEL01 bin]$ ./cim.sh
The following installed ATG components are being used to launch:
ATGPlatform version 10.1.2 installed at /home/install/mediaStore/ATG/ATG10.1.2
Error Thu Feb 28 15:21:35 IST 2013 1362045095625 / **atg.nucleus.NucleusResources->cantResolveComponent : Unable to resolve component /atg/dynamo/service/validation/JavaxValidatorFactory** java.lang.NoClassDefFoundError: weblogic/utils/classloaders/ClassFinder
Error Thu Feb 28 15:21:35 IST 2013 1362045095625 / at javax.validation.Validation.byProvider(Validation.java:166)
Error Thu Feb 28 15:21:35 IST 2013 1362045095625 / ***Caused by :java.lang.ClassNotFoundException: weblogic.utils.classloaders.ClassFinder***
Error Thu Feb 28 15:21:35 IST 2013 1362045095625 / at
Any help or views or guidance would be highly appreciated .
Thanks ,
Aazim
I added the following to my classpath
/home/install/mediaStore/Weblogic/wlserver_12.1/server/lib/wls-api.jar
Also, currently ATG 10.1.2 does not support Weblogic 12.1. So, you won't be able to configure CRS with it.

TYPO3 - PHP errors after server restart

We had to restart a server that has a TYPO3 site on it. We made no changes to the database of any of the TYPO3 files themselves, just a standard restart. The issue is that now the server is spewing php errors. I would like to stress that no server configuration changes were made.
A sample of our error logs:
[Wed Jun 27 23:55:19 2012] [error] [client ****************] PHP Strict Standards:
Declaration of tx_commerce_db_article::get_attributes() should be compatible with tx_commerce_db_alib::get_attributes($uid, $attribute_corelation_type_list = '')
in /var/www/html/***********/class.tx_commerce_db_article.php on line 63
Anyone have any ideas of what might have cause typ03 to make a deposit on the living room rug?
The server will take the request but admin page and main page will not display.
Someone updated PHP to version 5.4 on the server. Only the latest dev versions in the git repositories include a fix to the display error pattern that explicitly excludes E_STRICT.
Have a look at this issue and the according patches:
http://forge.typo3.org/issues/35154