domain.com.txt is empty or does not exist

Need help with the Administration of your Joomla! 3.x site? This is the spot for you.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Locked
whamprod
Joomla! Intern
Joomla! Intern
Posts: 69
Joined: Tue Jun 17, 2008 9:18 pm

domain.com.txt is empty or does not exist

Post by whamprod » Sat Feb 06, 2016 2:07 am

Hello,

I've got a client website that has a couple of issues I don't know how to track down.....

The first one is an intermittent error which I am unable to replicate, but they have sent me screenshots (attached below) from both a mobile device and a desktop device. The text is in cyrillic script, but translated, it reads: "File keywords keys / designandgrace.com.txt is empty or does not exist . Prescribe to at least one of keywords."

I cannot seem to trace the source of the error, and I don't even know where to begin.

The second one is an error that shows up in the PHP error log:

Code: Select all

/home/user_name/public_html/administrator/error_log:
[12-Jan-2016 11:25:44 America/Denver] PHP Notice: Use of undefined constant DS - assumed 'DS' in /home/user_name/public_html/libraries/joomla/filesystem/file.php on line 386
Any help would be appreciated. Thank you.
You do not have the required permissions to view the files attached to this post.

User avatar
sudo-web
Joomla! Ace
Joomla! Ace
Posts: 1325
Joined: Fri Jan 22, 2016 7:10 pm
Location: Vienna - Austria
Contact:

Re: domain.com.txt is empty or does not exist

Post by sudo-web » Sat Feb 06, 2016 4:47 pm

Can you tell us what your exact Joomla Version is?
Visit me on my Webdesign Webpage: https://www.posit.at

whamprod
Joomla! Intern
Joomla! Intern
Posts: 69
Joined: Tue Jun 17, 2008 9:18 pm

Re: domain.com.txt is empty or does not exist

Post by whamprod » Sat Feb 06, 2016 6:27 pm

sudo-web wrote:Can you tell us what your exact Joomla Version is?
It is version 3.4.8.

PHP Built On: Linux box1305.bluehost.com 3.12.50-39.ELK6.x86_64 #1 SMP Mon Nov 2 03:10:26 CST 2015 x86_64
Database Version: 5.5.42-37.1-log
Database Collation: latin1_swedish_ci
PHP Version: 5.6.17
Web Server: Apache
WebServer to PHP Interface: cgi-fcgi
Joomla! Version: Joomla! 3.4.8 Stable [ Ember ] 24-December-2015 19:30 GMT
Joomla! Platform Version: Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30936
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: domain.com.txt is empty or does not exist

Post by Per Yngve Berg » Sat Feb 06, 2016 6:53 pm

What is on line 386? In a fresh file from 3.4.8 it's a comment.

DS was used in previous Jomla versions. You may have an extension that are not updated to a 3.4.8 compatible version.

User avatar
sudo-web
Joomla! Ace
Joomla! Ace
Posts: 1325
Joined: Fri Jan 22, 2016 7:10 pm
Location: Vienna - Austria
Contact:

Re: domain.com.txt is empty or does not exist

Post by sudo-web » Sat Feb 06, 2016 7:04 pm

I checked the file that is referring in your log file. So if you had on 12-Jan-2016 already the Joomla Version 3.4.8, than something is odd, because in the file of Joomla version 3.4.8 this line contains the end of a commentary.
Could you check your file /libraries/joomla/filesystem/file.php
Visit me on my Webdesign Webpage: https://www.posit.at

whamprod
Joomla! Intern
Joomla! Intern
Posts: 69
Joined: Tue Jun 17, 2008 9:18 pm

Re: domain.com.txt is empty or does not exist

Post by whamprod » Sun Feb 07, 2016 2:24 am

Line 386 says:

Code: Select all

	$slash = strrpos($file, DS);

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17443
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: domain.com.txt is empty or does not exist

Post by toivo » Sun Feb 07, 2016 8:11 am

That line is identical to line 384 in Joomla 1.5.26. Did you upgrade the site just recently?
Toivo Talikka, Global Moderator

whamprod
Joomla! Intern
Joomla! Intern
Posts: 69
Joined: Tue Jun 17, 2008 9:18 pm

Re: domain.com.txt is empty or does not exist

Post by whamprod » Sun Feb 07, 2016 6:57 pm

toivo wrote:That line is identical to line 384 in Joomla 1.5.26. Did you upgrade the site just recently?
I did a complete rebuild in a subdomain in 3.4.5 a few months ago, then migrated all the files into the domain root. After that, I ran each of the update patch installs (3.4.6, 7, and 8) as they were released by Joomla.org, using the Update feature built into the system.

The rebuild replaced a 2.5.x version (I don't remember which)..... which was in turn a rebuild of an original 1.5.26 site. I always do rebuilds in a subdomain, and then migrate the rebuild into the root when it is ready. When I do a rebuild, I always make an archive of the previous site, and then I delete all of that site's files from the domain root before migrating the new version into the root.

Point being, if that line 384 in the current file is identical to the same line in 1.5.26, then that is how it was installed in either 3.4.5, or one of the subsequent patches.......OR, one of the subsequent patches failed to overwrite the file with the newer version.

I could be wrong (and will readily accept it if I am), but that is the only thing that makes sense to me. Really, I just need to know what to do to fix the problem.
Last edited by whamprod on Sun Feb 07, 2016 7:25 pm, edited 1 time in total.

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30936
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: domain.com.txt is empty or does not exist

Post by Per Yngve Berg » Sun Feb 07, 2016 7:04 pm

Get the 3.4.8 full package
unzip it to your computer
delete the installation folder
upload to your site overwriting all files.

whamprod
Joomla! Intern
Joomla! Intern
Posts: 69
Joined: Tue Jun 17, 2008 9:18 pm

Re: domain.com.txt is empty or does not exist

Post by whamprod » Sun Feb 07, 2016 7:27 pm

Per Yngve Berg wrote:Get the 3.4.8 full package
unzip it to your computer
delete the installation folder
upload to your site overwriting all files.
Thank you. Will this require me to reinstall the extensions I installed (JCE Editor, etc.), or will they be fine?

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30936
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: domain.com.txt is empty or does not exist

Post by Per Yngve Berg » Sun Feb 07, 2016 7:50 pm

No, you do not have to reinstall anything.

If you are using a modified version of a core template, do not overwrite the /templates folder.

whamprod
Joomla! Intern
Joomla! Intern
Posts: 69
Joined: Tue Jun 17, 2008 9:18 pm

Re: domain.com.txt is empty or does not exist

Post by whamprod » Sun Feb 07, 2016 8:54 pm

Per Yngve Berg wrote:No, you do not have to reinstall anything.

If you are using a modified version of a core template, do not overwrite the /templates folder.
No, I'm using a YooTheme template, so that should be fine then.

Thank you very much for the help!

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 20652
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ Germany/ S'pore/Bogor/ North America
Contact:

Re: domain.com.txt is empty or does not exist

Post by leolam » Mon Feb 08, 2016 3:08 am

DS Contant has been removed from code. So somewhere an old plugin or extension is causing this probably or you still have some 'legacy-code' present.

You must make sure that all your extensions are up-to-date and compatible with Joomla 3.4.8.

Last but not least you can check if this plugin will help you after you have uploaded the J3.4.8 version as outlined: http://digitaldisseny.com/en/joomla-ext ... la-3-error

Leo 8)
Joomla's #1 Professional Services Provider:
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -


Locked

Return to “Administration Joomla! 3.x”