[CWB] CQPweb: php error

Hardie, Andrew a.hardie at lancaster.ac.uk
Mon Feb 15 12:24:13 CET 2021


Hi Simon,

It sounds like your web server is not processing the PHP scripts are PHP but is instead serving them up as plain text. This is a web server configuration problem not a CQPweb problem I'm afraid. 

If you're on Apache, the issue may be that mod_php is not enabled. On other webservers, there will be similar things.

best

Andrew

-----Original Message-----
From: cwb-bounces at sslmit.unibo.it <cwb-bounces at sslmit.unibo.it> On Behalf Of Simon Meier-Vieracker
Sent: 15 February 2021 07:33
To: Open source development of the Corpus WorkBench <cwb at sslmit.unibo.it>
Subject: Re: [CWB] CQPweb: php error


Some more information:

PHP 8.0.2
Server version: Apache/2.4.25 (Debian)

I checked the required extensions in the Admin Manual and found that "Extension 'intl' not present."

But I guess that the problem is more basic, since it does not execute the very simple command "<?php require('lib/mainhome.php');"

Best, Simon


> Am 14.02.2021 um 10:18 schrieb Simon Meier-Vieracker <simon.meier-vieracker at tu-dresden.de>:
>
> Hi,
>
> since today, I get the following error when I try to call CQPweb on my server https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fali.gsw.tu-dresden.de%2F&amp;data=04%7C01%7Ca.hardie%40lancaster.ac.uk%7C5e469cc667d347fe67d608d8d184139b%7C9c9bcd11977a4e9ca9a0bc734090164a%7C0%7C0%7C637489712530551010%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=rE%2FqcvUB59QzuZQ6oG1JCPZ2ckrcpWSI%2FKIlfvcJV4g%3D&amp;reserved=0
>
>> <?php require('lib/mainhome.php');
>
> Same thing on other pages:
>
>> <?php require ('../lib/adminhome.php');
>
> The server is running, I can call pages outside of CQPweb (e.g. https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fali.gsw.tu-dresden.de%2Ftutorial.html&amp;data=04%7C01%7Ca.hardie%40lancaster.ac.uk%7C5e469cc667d347fe67d608d8d184139b%7C9c9bcd11977a4e9ca9a0bc734090164a%7C0%7C0%7C637489712530551010%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=ANxbnpA%2BJbvubdeRUbLMhMxlSSRkicEYpWDCbfTQU1A%3D&amp;reserved=0)
>
> And within the lib folder, everything seems to be okay (see attached file) and mainhome.php looks good, too.
>
> Any suggestions what I can check in order to fix this?
>
> Best, Simon
>
> <lib.txt>
>
> _______________________________________________
> CWB mailing list
> CWB at sslmit.unibo.it
> https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fliste.sslmit.unibo.it%2Fmailman%2Flistinfo%2Fcwb&amp;data=04%7C01%7Ca.hardie%40lancaster.ac.uk%7C5e469cc667d347fe67d608d8d184139b%7C9c9bcd11977a4e9ca9a0bc734090164a%7C0%7C0%7C637489712530551010%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=ICBmNvRtV4z26cKxZR%2FuvtFMimnqLPlZZSC3xQA9IK4%3D&amp;reserved=0




More information about the CWB mailing list