CNX import leading to HTTP error


#1

@brad Let me know if I should put this on GitHub instead.

@rootl can help with updating settings/more troubleshooting

When importing a CNX title, I’m getting an HTTP 500 error. We’ve updated our import settings and PHP upload settings, but even with single chapter zip files, the importer goes straight to an error screen (no loading/thinking time) on Chrome, and in Firefox I only see a white screen.

We’ve recently upgraded to the latest versions of both PB and the OpenStax plugin, so was wondering if this was a problem anyone else had experienced. (all current settings are listed below).

Other types of imports work as expected, and I’ve tried multiple OS titles and files on two different PB book sites and got the same error, both using the upload file option, and the Import from URL option. I don’t have access to another version of PB with this plugin installed to see if it is localized to our instance.

System Information

WordPress Configuration

Network Type: Subdirectory
Version: 5.0.3
Language: en_US
WP_ENV: Not set
WP_DEBUG: Enabled
Memory Limit: 64M

Pressbooks Configuration

Version: 5.6.4
Root Theme: Aldine
Root Theme Version: 1.5.0

Pressbooks Dependencies

Epubcheck: Installed
Kindlegen: Installed
xmllint: Installed
PrinceXML: Installed
Saxon-HE: Installed

Must-Use Plugins

Global SMTP: 1.0
hm-autoloader.php: n/a
WP Multisite Allow Hyphens and Underscores Override Admin: 1.0
WP Pressbooks Allow Prince 300dpi Images: n/a

Network Active Plugins

Candela Citation: 0.2.2
Check Email: 0.5.5
Disable Comments: 1.8.0
Error Log Monitor: 1.6.3
GitHub Updater: 8.6.2
Hypothesis: 0.5.0
iframe: 4.4
Members: 2.1.0
Openstax Import for Pressbooks: 1.3.2
Pressbooks: 5.6.4
Textbooks for Pressbooks: 4.2.3
UpdraftPlus - Backup/Restore: 2.16.4.24
WordPress Mass Email to users: 1.0
WP-Optimize: 2.2.11
WP QuickLaTeX: 3.8.6

Root Blog Active Plugins

Openstax Import for Pressbooks:

  • Version: 1.3.2
  • Author: Brad Payne
  • Last Updated: 3 weeks ago
  • Requires WordPress Version: 4.9.8 or higher
  • Compatible up to: 5.0.3
  • Requires PHP Version: 7.1 or higher
  • Active Installations: Less Than 10

Candela Citation: 0.2.2
Check Email: 0.5.5
Disable Comments: 1.8.0
Error Log Monitor: 1.6.3
GitHub Updater: 8.6.2
Hypothesis: 0.5.0
iframe: 4.4
Members: 2.1.0
Pressbooks: 5.6.4
Textbooks for Pressbooks: 4.2.3
UpdraftPlus - Backup/Restore: 2.16.4.24
WordPress Mass Email to users: 1.0
WP-Optimize: 2.2.11
WP QuickLaTeX: 3.8.6

Inactive Plugins

Better Search Replace: 1.3.2
Broken Link Checker: 1.11.5
Edit Flow: 0.9
MemcacheD Is Your Friend: 2.0.0
WP-Piwik: 1.0.19

Server Configuration

PHP Version: 7.3.1
MySQL Version: 5.6.42
Webserver Info: Apache/2.4.6 () OpenSSL/1.0.2k-fips PHP/7.3.1

PHP Configuration

Safe Mode: Disabled
Memory Limit: 256M
Upload Max Size: 2000M
Post Max Size: 3000M
Upload Max Filesize: 2000M
Time Limit: 5000
Max Input Vars: 1000
URL-aware fopen: On (1)
Display Errors: N/A

PHP Extensions

OPcache: Zend
XDebug: Disabled
cURL: Supported
cURL Version: 7.29.0
imagick: Not Installed
xsl: Installed


#2

Hi Allison…yes please! I would also be looking for output from your web server…it will point us in the direction of the source of the problem…either in debug.log in /wp-content/ or (apache/nginx) log files.

thanks!


#3

Will do! And @rootl will be getting those output files for you tomorrow. Thanks for your help!


#4

Greetings. @bdolor .

Alllison gets the “White Screen of Death” when she tries to upload an OpenStax file. I have tried uploading the same file and get the same upload screen, no white screen or error message.

Prior to PHP 7.3, I could have Debugging on from within wp-config. I am wondering if 7.3 doesn’t like this and log files and debugging should be from within the php.ini file instead.

These warnings are what repeatedly appear in the httpd error log:

[Fri Jan 25 12:04:31.721184 2019] [php7:warn] [pid 2045] [client 74.102.17.203:6835] PHP Warning: Use of undefined constant \xe2\x80\x98WP_DEBUG_LOG\xe2\x80\x99 - assumed ‘\xe2\x80\x98WP_DEBUG_LOG\xe2\x80\x99’ (this will throw an Err$
[Fri Jan 25 12:04:32.508872 2019] [core:error] [pid 1912] [client 74.102.17.203:6836] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limit$

More are below:

[Thu Jan 24 20:28:30.229243 2019] [core:error] [pid 27086] [client 65.78.4.163:50199] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limit$
[Thu Jan 24 20:28:30.230278 2019] [core:error] [pid 26881] [client 65.78.4.163:50201] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limit$
[Thu Jan 24 20:34:43.480796 2019] [core:error] [pid 27169] [client 73.90.56.238:47824] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limi$
[Thu Jan 24 20:42:57.606161 2019] [core:error] [pid 27310] [client 73.16.8.70:53879] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limit $
[Thu Jan 24 21:02:05.889494 2019] [core:error] [pid 27904] [client 172.14.241.60:55014] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the lim$
[Thu Jan 24 21:02:05.933117 2019] [core:error] [pid 27950] [client 172.14.241.60:55012] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the lim$
[Thu Jan 24 21:02:05.947999 2019] [core:error] [pid 27951] [client 172.14.241.60:55011] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the lim$
[Thu Jan 24 21:02:05.952963 2019] [core:error] [pid 27942] [client 172.14.241.60:55015] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the lim$
[Thu Jan 24 21:02:27.654116 2019] [core:error] [pid 27950] [client 107.77.194.187:1990] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the lim$
[Thu Jan 24 21:02:27.657729 2019] [core:error] [pid 27955] [client 107.77.194.187:40894] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the li$
[Thu Jan 24 21:02:27.702634 2019] [core:error] [pid 27958] [client 107.77.194.187:31650] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the li$
[Thu Jan 24 21:02:27.711488 2019] [core:error] [pid 27930] [client 107.77.194.187:55810] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the li$
[Thu Jan 24 21:04:13.253143 2019] [core:error] [pid 27930] [client 66.44.59.148:50396] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limi$
[Thu Jan 24 21:04:13.289758 2019] [core:error] [pid 27956] [client 66.44.59.148:50392] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limi$
[Thu Jan 24 21:04:13.302796 2019] [core:error] [pid 27983] [client 66.44.59.148:50393] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limi$
[Thu Jan 24 21:04:13.306757 2019] [core:error] [pid 27942] [client 66.44.59.148:50398] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limi$
[Thu Jan 24 21:19:51.687382 2019] [php7:error] [pid 28387] [client 91.216.231.95:44622] script ‘/var/www/html/milnepublishing.geneseo.edu/adminer.php’ not found or unable to stat
[Thu Jan 24 21:26:26.727815 2019] [core:error] [pid 28440] [client 73.184.219.38:52250] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the lim$
[Thu Jan 24 21:29:43.691757 2019] [core:error] [pid 28454] [client 144.39.253.107:65368] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the li$
[Thu Jan 24 21:33:07.013397 2019] [core:error] [pid 28680] [client 173.230.18.138:60556] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the li$
[Thu Jan 24 21:33:07.052295 2019] [core:error] [pid 28487] [client 173.230.18.138:60555] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the li$
[Thu Jan 24 21:33:07.092005 2019] [core:error] [pid 28683] [client 173.230.18.138:60553] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the li$
[Thu Jan 24 21:33:07.134446 2019] [core:error] [pid 28513] [client 173.230.18.138:60554] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the li$
[Thu Jan 24 21:46:10.986200 2019] [core:error] [pid 28990] [client 76.120.129.61:61034] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the lim$
[Thu Jan 24 21:49:53.208731 2019] [core:error] [pid 29072] [client 192.101.185.211:53669] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the l$
[Thu Jan 24 21:49:53.222436 2019] [core:error] [pid 29073] [client 192.101.185.211:53671] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the l$
[Thu Jan 24 21:49:53.227372 2019] [core:error] [pid 29079] [client 192.101.185.211:53670] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the l$
[Thu Jan 24 21:49:53.234455 2019] [core:error] [pid 29021] [client 192.101.185.211:53668] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the l$
[Thu Jan 24 21:57:31.149184 2019] [core:error] [pid 29079] [client 139.102.116.175:53292] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the l$
[Thu Jan 24 21:57:31.163131 2019] [core:error] [pid 29116] [client 139.102.116.175:53294] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the l$
[Thu Jan 24 21:57:31.171961 2019] [core:error] [pid 29160] [client 139.102.116.175:53296] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the l$
[Thu Jan 24 21:57:31.175415 2019] [core:error] [pid 29077] [client 139.102.116.175:53293] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the l$
[Thu Jan 24 22:09:19.958147 2019] [core:error] [pid 29471] [client 66.214.122.176:41819] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the li$
[Thu Jan 24 22:09:19.959168 2019] [core:error] [pid 29350] [client 66.214.122.176:41820] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the li$
[Thu Jan 24 22:09:19.963960 2019] [core:error] [pid 29465] [client 66.214.122.176:41822] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the li$
[Thu Jan 24 22:09:20.137890 2019] [core:error] [pid 29466] [client 66.214.122.176:41821] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the li$
[Thu Jan 24 23:12:52.335600 2019] [core:error] [pid 31023] [client 42.61.211.225:62243] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the lim$
[Thu Jan 24 23:13:12.983424 2019] [core:error] [pid 31021] [client 42.61.211.225:62248] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the lim$
[Thu Jan 24 23:23:53.843265 2019] [core:error] [pid 31149] [client 42.61.211.225:62293] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the lim$
[Thu Jan 24 23:25:57.952309 2019] [core:error] [pid 31247] [client 42.61.211.225:62333] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the lim$
[Thu Jan 24 23:26:34.747751 2019] [core:error] [pid 31246] [client 42.61.211.225:62365] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the lim$
[Thu Jan 24 23:32:31.470347 2019] [core:error] [pid 31427] [client 71.51.48.55:56750] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limit$
[Thu Jan 24 23:33:56.983787 2019] [core:error] [pid 31404] [client 120.20.69.4:1923] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limit $
[Thu Jan 24 23:56:14.117631 2019] [core:error] [pid 31872] [client 69.23.216.108:64455] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the lim$
[Thu Jan 24 23:56:14.170445 2019] [core:error] [pid 31954] [client 69.23.216.108:64450] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the lim$
[Thu Jan 24 23:56:14.171500 2019] [core:error] [pid 31945] [client 69.23.216.108:64454] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the lim$
[Thu Jan 24 23:56:14.181810 2019] [core:error] [pid 31952] [client 69.23.216.108:64451] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the lim$
[Fri Jan 25 00:09:29.914956 2019] [core:error] [pid 32257] [client 98.207.159.30:58019] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the lim$
[Fri Jan 25 00:39:37.275171 2019] [core:error] [pid 621] [client 66.102.6.159:43220] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limit $
[Fri Jan 25 01:17:22.045259 2019] [core:error] [pid 1653] [client 49.207.48.208:2578] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limit$
[Fri Jan 25 01:17:22.055278 2019] [core:error] [pid 1466] [client 49.207.48.208:2580] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limit$
[


#5

I had to manually install the Zip package to work with PHP 7.3 . I tested both url and direct upload of an OpenStax zip and the import worked.