I am upgrading PHP 5.6 to 7.2 using fast cgi. After installation I am an getting internal server error - upgrade

I am upgrading PHP on a windows 2016 server but getting an internal server error on all PHP pages now. I went from PHP 5.6 to PHP 7.2 fast cgi non thread safe x86 version. When I check in PHP Manager in IIS Manager all of the settings show the updated PHP files/locations
I am getting the following error: 'The page cannot be displayed because an internal server error has occurred.'

Related

"su: cannot open session: Module is unknown" error when starting JasperServer 8.0.x Community Edition

I'm having some issues after installing JasperServer Community Edition 8.0.
When I try to run ctlscript.sh start, I get the following error message:
su: cannot open session: Module is unknown
<INSTALL_PATH>/postgresql/scripts/ctl.sh : postgresql  could not be started
and the PostgreSQL included in the installation does not start.
I tried debugging the startup code, and it seems that the issue is in file <INSTALL_PATH>/postgresql/scripts/ctl.sh, at line 63:
su postgres -c "$POSTGRESQL_START"
Just to let you have the complete context, I already have a Jasper Server at version 7.8 running on this server, using the same postgres user as the new 8.0 one. I'm not sure if it's a session issue.
Could you please help me figure out what's the problem?
Thanks a lot
Edit: I forgot to mention that the server is running RedHat 8.6

Deprecated Functionality: idn_to_ascii() Magento 2.3.1 with PHP 7.2

I'm using Magento 2.3.1 with PHP 7.2, facing error while creating customers account at admin end.
Found some sources on the internet to degrade PHP version.
Is there any other option available without degrading PHP 7.2?
Log:
main.CRITICAL: Exception message: Deprecated Functionality: idn_to_ascii(): INTL_IDNA_VARIANT_2003 is deprecated in /public_html/vendor/zendframework/zend-validator/src/EmailAddress.php on line 560
idn_to_ascii() at Line 560:
return (idn_to_ascii($email) ?: $email);
I encountered this exact issue after upgrading the PHP version of the server to 7.3.
Initially, the issue was with the Zend framework like yourself, but after an upgrade to Magento 2.3.5 (in an attempt to correct the problem), an identical error was thrown for the newer Laminas.
I tried a number of solutions, including downgrading guzzle from 6.5.3 to 6.5.2, as suggested here: https://stackoverflow.com/a/61596343/9667652
It seems the only solution is to downgrade PHP to 7.1. The issue continues even with PHP 7.2. I downgraded to PHP 7.1 and emails are now sending.
EDIT: As per comment by #user125661, it's important to note that PHP 7.1 is no longer supported:
PHP 7.1 has reached End of Life. To maintain PCI compliance, Magento should not be run on unsupported software. Installing from GitHub will no longer work with Magento 2.3.4/PHP 7.1. The only way to install 2.3.4 with PHP 7.1.x is with Composer. Magento recommends using PHP 7.3
See: https://devdocs.magento.com/guides/v2.3/install-gde/system-requirements-tech.html#php
This issue has been encountered repeatedly but is not able to be reproduced reliably, as documented here: https://github.com/magento/magento2/issues/19795
Looks as though the most likely reason for the issue is servers running CentOS 6, where CentOS 7 is needed: https://github.com/magento/magento2/issues/19795#issuecomment-486432245
Best bet is to get your server onto CentOS 7, but where this is not possible, it seems the only workaround is downgrading to PHP 7.1.

PIA_INSTALL_FAIL during PeopleSoft Server Administration

I'm following the online installation example (https://www.youtube.com/watch?v=7ElSGLkprkY) to install PeopleSoft with PeopleTools on Windows 7 with SQLServer 2008 R2.
My PS and PT installation version differs from the online videos since I'm using most recent available versions:
PeopleSoft HM 9.2
PeopleTools 8.55
Tuxedo 12.1.3.0.0 with VS2012
WebLogic 12.1.3.0.0 64bit
JDK 7u55 x64
SQL Server 2008 R2
I could install each element with no error, excepted one VIEW during HC database creation (PS_EP_APPRMOB_PNDG), but I could re-create the view manually by slightly modifying the SQL query.
Now I'm trying to configure the Web (PIA) Server and I encounter an error while creating the domain. The piainstall_HC.log file contains following:
Tue Sep 20 09:48:32 CEST 2016:Starting PIA installation...
PS_HOME: c:\PT8.55
Install Action : CREATE_NEW_DOMAIN
Creating Domain...
Deploying Web Applications...
Deploying WebLogic Extension files...
Deploying PeopleSoft Site files...
Deploying PeopleSoft Site Doc files...
Completed.
PS_CFG_HOME: C:\PS_CFG_HOME
PIA_INSTALL_FAIL
After intensive googling, I found that some other people got a similar issue which was caused by a wrong version of the JDK: the JRockit jvm was required.
Of course I tried to use JRockit JDK 64bit, but I still get the same error. I also tried several other oracle JDK versions, among others the JDK 7u55 x64, which is provided with PeopleTools installation elements.
Unfortunately, I definitively get the same error and cannot find any other logfile which could give more information on the root cause.
Did someone experienced the same issue and could fix it ?
Thanks for help
I finally could fix the issue.
It seems that my error was to install the wrong weblogic version: originally, I installed weblogic by using the "setup_fmw_12.1.3.0.0_ohs_win64.exe" installer which was provided with PeopleTools.
It appears that the other one (fmw_12.1.3.0.0_wls.jar) was expected. After installing this version (with "Coherence"), the domain could be created successfully.

GlassFish Server 4.0 start error with JDK

I'm using NetBeans 7.3.1 with GlassFish Server 4
When I try to run a(any) project I get the following error.
Starting GlassFish Server
GlassFish Server Server start failed. Cant create start proccess.
C:\Users\ENES\Documents\NetBeansProjects\Tezmaksan\nbproject\build-impl.xml:1041: Deployment error: GlassFish Server Server start failed. Cant create start proccess.
See the server log for details.
BUILD FAILED (total time: 2 seconds)
I don't know where the log file is, I couldn't find it.
When I go bin directory of GlassFish and run startserv.bat, it looks like working because localhost:8080/ and localhost:4848/ are working. But my application still can't start.
When I go localhost:8080/Tezmaksan/ there is this error there
HTTP Status 500 - Internal Server Error
type Exception report
messageInternal Server Error
descriptionThe server encountered an internal error that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: PWC6345: There is an error in invoking javac. A full JDK (not just JRE) is required
note The full stack traces of the exception and its root causes are available in the GlassFish Server Open Source Edition 4.0 logs.
GlassFish Server Open Source Edition 4.0
I have last verison of JDK (1.7u25) installed and when I check from NetBeans it is selected for GlassFish. I'm using x64 Windows 7. I didn't have this problem 2-3 months ago, it just popped out. I tried uninstalling and reinstalling NetBeans, GlassFish and JDK and problem is still there.
Thanks for your helps
I got the solution after searching through the web.
Adding an option to a NetBeans setting file will do it.
Open NETBEANS_DIRECTORY/etc/netbeans.conf
Search for "netbeans_default_options"
Then add "--locale en"
So it will look like from this
netbeans_default_options="-J-client...
to this
netbeans_default_options="--locale en -J-client...
restart NetBeans, problem solved.

Magento 1.7.2 Install Error with curl -- Desperate

I am using WampServer Apache 2.2.22 – Mysql 5.5.24 – PHP 5.4.3 XDebug 2.1.2 XDC 1.5 PhpMyadmin 3.4.10.1 SQLBuddy 1.3.3 webGrind 1.0.
Error 1: I get the following error. PHP extension "curl must be loaded.
So I go to wamp\bin\php\php5.4.3 and uncomment line extension=php_curl.dll.
Restart wamp server
Error 2: [1]: http://imgur.com/wdmMP2z
PHP Statup Unable to load dynamic library.
c:/wamp/bin/php5.4.3/ext/php_curl.dll The application failed to start because its side by side configuration is incorrect.
I tried to go to this site and get the corrected php
http://www.anindya.com/php-5-4-12-and-5-3-22-x64-64-bit-for-windows/
So i just extracted it and replaced it in c:\wamp\bin\php\php5.4.3
Also tried just having it overwrite the folder. Neither worked.
Thanks for any help.
New to Magento
Sincerely,
Joe
Seems that others have had problems with Magento 1.7.x and newer versions of WAMP. This answer here says they had to go back to WAMP 2.1:
Magento 1.7 with Wamp 2.2
I'm having a curl related problem with Magento 1.6.x and WAMP 2.2 using php 5.4.3 -- I believe I used the older php 5.3.10 when I had it successfully working..
edit: for magento 1.6.2.0 anyway, you need php 5.3.10 which is in WampServer 2.2D (not E)