Search
Other ReReplacer questions
Forum

PHP error warnings on ReReplacer when XML file contains more than 4096 characters

Emiel's Avatar Emiel
I have the latest ReReplacer PRO installed. (I actually renewed subscription, to update the extension, because I thought it would solve the errors I receive... But It didn't.)

I use a ReReplacer with an external XML file and Regular Expressions.
When debugging PHP errors on my site I found this error that I can not seem to resolve... I can't even find where the problem is.
PHP message: PHP Warning:  file_exists(): File name is longer than the maximum allowed path length on this platform (4096): <?xml version="1.0" encoding="utf-8"?>\n<replacements>\n\t<name>Automatic content keyword linkbuilder</name>\n\t<version>ReReplacer v8.8.3PRO</version>\n\t<items>\n\t\t<item>\n\t\t\t<search><![CDATA[\\b(cuba)\\b]]></search>\n\t\t\t<replace><![CDATA[<a href="caribbean/cuba" title="\\1" rel="category tag"><span itemprop="keywords">\\1</span></a>]]></replace>\n\t\t</item>\n\t\t<item>\n\t\t\t<search><![CDATA[\\b(abu dhabi)\\b]]></search>\n\t\t\t<replace><![CDATA[<a href="abu-dhabi" title="\\1" rel="category tag"><span itemprop="keywords">\\1</span></a>]]></replace>\n\t\t</item>\n\t\t<item>\n\t\t\t<search><![CDATA[\\b(algarve)\\b]]>&...
Peter van Westen's Avatar Peter van Westen ADMIN
Weird. The content of the XML file shouldn't be converted to a URL...

Can you give me (super) admin and (s)ftp access so I can take a look?
And tell me on what url I can see/reproduce the issue.
You can use the 'Confidential information' button in the forum editor to hide sensitive information.
Please post a rating at the Joomla! Extensions Directory
Emiel's Avatar Emiel
Admin:
Confidential information:
(hidden)


The error log does not give me more info on the error.

Working on an FTP access (if really needed still?)
Peter van Westen's Avatar Peter van Westen ADMIN
Yes, I would need the (s)ftp access.

And where/how can I see the PHP error?
Please post a rating at the Joomla! Extensions Directory
Emiel's Avatar Emiel
Should have FTP access now too with same credentials

Confidential information:
(hidden)
Emiel's Avatar Emiel
The errors appear only in the php error log file. I do not know the origin.

Confidential information:
(hidden)
Peter van Westen's Avatar Peter van Westen ADMIN
The FTP account doesn't work.

I tried switching on Error Reporting in your Global Configuration.
But now the administrator is blank.

You'd have to manually edit the configuration.php to switch that back.
No idea what is going on in your setup to cause that...
Please post a rating at the Joomla! Extensions Directory
Emiel's Avatar Emiel
Error reporting seems to work on front end. The destination pages show the error on the extention. Currently I'm out for dinner so I can't fix the admin or ftp access. But you can find the error on the holiday destination pages of the site.
Emiel's Avatar Emiel
Don't know what setting you have changed. According to config file debugging is off. Any other setting changes do not return access to admin. Still all blank.
Emiel's Avatar Emiel
Apparently error reporting = on + debug = off creates a blank admin.
Admin and error reporting works when both are turned on or off at the same time.
No idea what that is all about.
Emiel's Avatar Emiel
Confidential information:
(hidden)
Peter van Westen's Avatar Peter van Westen ADMIN
Please try the latest development version from:
regularlabs.com/development-releases
Please post a rating at the Joomla! Extensions Directory
Emiel's Avatar Emiel
Error remains after installation of the development release
Peter van Westen's Avatar Peter van Westen ADMIN
Sorry, I forgot to push the changes...
Please re-download:
regularlabs.com/development-releases
Please post a rating at the Joomla! Extensions Directory
Emiel's Avatar Emiel
Yep. That did it. Errors are gone!
Thanks!
Peter van Westen's Avatar Peter van Westen ADMIN
Ok, great 🙂
The fix will be included in the next release.
Please post a rating at the Joomla! Extensions Directory
Emiel's Avatar Emiel
Hello again.
I do not know if this is related. But just wanted to relay this errorcode aswell:
PHP message: PHP Warning:  Use of undefined constant Y - assumed 'Y' (this will throw an Error in a future version of PHP) in /.../tmp/regularlabs/custom_php/1034287_4ae2c5095dd40b4f719492a4f14fd525 on line 11
Peter van Westen's Avatar Peter van Westen ADMIN
That points to an issue in your own custom PHP code, which you are using in the replacement or PHP condition.
Please post a rating at the Joomla! Extensions Directory
You can only post on the extension support forum if you have an active subscription and you log in

Buy a Pro subscription