contao

TinyMCE with CDN on Contao 3.x

强颜欢笑 提交于 2019-12-25 03:40:46
问题 I have a Contao 3.x website where I use CDN for the assets. The problem that gives rise to on the backend is that TinyMCE does not work anymore. I read that there is a different cdn js for loading TinyMCE with CDN, but on a Contao (or probably the same with any other CMS using TinyMCE), and especially the backend, something like that is auto configured by the system. I could try to make a core change inserting a script tag on the template, but that is not optimal at all and not what I am

PHP out of memory error does not reflect memory_limit setting in php.ini

你离开我真会死。 提交于 2019-12-11 06:08:39
问题 When I try to install a package to Contao using the Composer client I get an error: Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 134217728 bytes) in phar://D:/wamp/www/myproject/composer/composer.phar/src/Composer/DependencyResolver/Solver.php on line 220 I am really confused. My PHP memory limit is set at 512M. phpinfo() confirms it. But 1073741824 is a gigabyte! And it still isn't enough, as if the script totally disregards the PHP memory limit (where?)

How do I correctly implement this mySQL query into a PHP file and display the results?

邮差的信 提交于 2019-12-08 08:21:12
问题 Main topic: https://stackoverflow.com/questions/35163890/you-have-an-error-in-your-sql-syntax-check-the-manual-that-corresponds-to-your?sfb=2 SELECT SUBSTRING(LEFT(configuration, LOCATE('abhol_firma', configuration) -30), LOCATE('treuhand_betrag', configuration) +22, 100) FROM tl_iso_product_collection_item WHERE LOCATE('abhol_firma', configuration) > 0 AND LOCATE('treuhand_betrag', configuration) > 0 ORDER BY id DESC LIMIT 1 So basically I need to implement this code into a PHP file and

Contao: How can I change the protocol of the base url?

自古美人都是妖i 提交于 2019-12-05 09:34:33
问题 In Contao 3.5.9 I have uploaded to new server and am using a different domain from the original installation. I am also using https:// Many of the resources needed are not being loaded because the system has the base url set to http:// It is using the correct domain name in the base url, but the wrong protocol. I cannot login to the admin. I searched Google (not much there about Contao) and found this: http://blog.qzminski.com/article/move-the-contao-to-another-server.html reading it, it

Contao: How can I change the protocol of the base url?

不想你离开。 提交于 2019-12-03 22:45:30
In Contao 3.5.9 I have uploaded to new server and am using a different domain from the original installation. I am also using https:// Many of the resources needed are not being loaded because the system has the base url set to http:// It is using the correct domain name in the base url, but the wrong protocol. I cannot login to the admin. I searched Google (not much there about Contao) and found this: http://blog.qzminski.com/article/move-the-contao-to-another-server.html reading it, it seems that the base url is set in the admin, which means it can be found somewhere in the db. I have search