Problems, need help? Have a tip or advice? Post it here.
6 posts Page 1 of 1
I am having a few problems with upgrading my version of PHP and Couch. There seem to be two issues - the first is that leaving the PHP version at 7.2 and upgrading Couch to 2.2.1 (20201114) results in the error message
"config.php" not found. Perhaps you forgot to rename the "config.example.php" file to "config.php" after editing it?"
being displayed when attempting to view index.php. Other pages of the site are OK. The config.php file is definitely there.

The second issue is that when I upgrade the PHP version to 7.4 I get the errors - see below. Does anyone have any ideas for fixing this? Thanks!!


Deprecated: Array and string offset access syntax with curly braces is deprecated in /homepages/41/d301884190/htdocs/aoart.co.uk/admin/parser/parser.php on line 599

Deprecated: Array and string offset access syntax with curly braces is deprecated in /homepages/41/d301884190/htdocs/aoart.co.uk/admin/parser/parser.php on line 623

Deprecated: Array and string offset access syntax with curly braces is deprecated in /homepages/41/d301884190/htdocs/aoart.co.uk/admin/parser/parser.php on line 651

Deprecated: Array and string offset access syntax with curly braces is deprecated in /homepages/41/d301884190/htdocs/aoart.co.uk/admin/parser/parser.php on line 658

Deprecated: Array and string offset access syntax with curly braces is deprecated in /homepages/41/d301884190/htdocs/aoart.co.uk/admin/parser/parser.php on line 659

Deprecated: Array and string offset access syntax with curly braces is deprecated in /homepages/41/d301884190/htdocs/aoart.co.uk/admin/parser/parser.php on line 676

Deprecated: Array and string offset access syntax with curly braces is deprecated in /homepages/41/d301884190/htdocs/aoart.co.uk/admin/parser/parser.php on line 677

Deprecated: Array and string offset access syntax with curly braces is deprecated in /homepages/41/d301884190/htdocs/aoart.co.uk/admin/parser/parser.php on line 692

Deprecated: Array and string offset access syntax with curly braces is deprecated in /homepages/41/d301884190/htdocs/aoart.co.uk/admin/parser/parser.php on line 748

Deprecated: Array and string offset access syntax with curly braces is deprecated in /homepages/41/d301884190/htdocs/aoart.co.uk/admin/parser/parser.php on line 783

Deprecated: Array and string offset access syntax with curly braces is deprecated in /homepages/41/d301884190/htdocs/aoart.co.uk/admin/parser/parser.php on line 842

Deprecated: Array and string offset access syntax with curly braces is deprecated in /homepages/41/d301884190/htdocs/aoart.co.uk/admin/parser/parser.php on line 876

Deprecated: Array and string offset access syntax with curly braces is deprecated in /homepages/41/d301884190/htdocs/aoart.co.uk/admin/parser/parser.php on line 919

Deprecated: Array and string offset access syntax with curly braces is deprecated in /homepages/41/d301884190/htdocs/aoart.co.uk/admin/parser/parser.php on line 1032

Deprecated: Array and string offset access syntax with curly braces is deprecated in /homepages/41/d301884190/htdocs/aoart.co.uk/admin/parser/parser.php on line 1047

Deprecated: Array and string offset access syntax with curly braces is deprecated in /homepages/41/d301884190/htdocs/aoart.co.uk/admin/parser/parser.php on line 1048

Deprecated: Array and string offset access syntax with curly braces is deprecated in /homepages/41/d301884190/htdocs/aoart.co.uk/admin/parser/HTMLParser.php on line 64

Deprecated: The (real) cast is deprecated, use (float) instead in /homepages/41/d301884190/htdocs/aoart.co.uk/admin/includes/timthumb.php on line 102

Deprecated: The (real) cast is deprecated, use (float) instead in /homepages/41/d301884190/htdocs/aoart.co.uk/admin/includes/timthumb.php on line 114

Deprecated: Array and string offset access syntax with curly braces is deprecated in /homepages/41/d301884190/htdocs/aoart.co.uk/admin/addons/relation/relation.php on line 288

Deprecated: Array and string offset access syntax with curly braces is deprecated in /homepages/41/d301884190/htdocs/aoart.co.uk/admin/addons/mosaic/mosaic.php on line 120
The "config.php not found" error is intriguing (considering that it crops up only one one particular page).
I won't be able to comment on it without taking a look at the setup first-hand.

With regards to the second issue, however, I can say that the warnings have been fixed over a period of time.
Please download and use the latest version of Couch (either from our site or GitHub) and you shouldn't see them any more.

Hope this helps.
Thanks KK - a fresh installation / download of Couch sorted out the PHP errors. And - confession time - the other problem was me being stupid :oops: :roll:
Hi there, im recently run in an error with php version 7.4 too. For some reason the server was set to 7.4 without my knowledge. On every pageload the browser was now forced to download the html file of the page. Seting version back to 7.3 solved the issue.

the error log showed the following:
Code: Select all
Got error 'PHP message: PHP Deprecated:  Function get_magic_quotes_gpc() is deprecated in /var/www/vhosts/xxx/cms/header.php on line 301

message: PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in /var/www/vhosts/xxx/parser/HTMLParser.php on line 64PHP


I've couch version 2.2.1 (20190417) - is there an update or anything else i can do to run php 7.4?

Thank you!
Hi Cristoph,

Both the reported issues have long been fixed.
Please upgrade to the latest version of Couch from GitHub (2.2.1 - 20201114) and let me know if that fixes the problem.
yep, worked. Thank You!
6 posts Page 1 of 1