Something is adding 1. before 3 root files Topic is solved
Moderators: mandville, General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant / FPA - 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.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant / FPA - 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.
-
- Joomla! Apprentice
- Posts: 20
- Joined: Wed Nov 15, 2006 1:47 pm
Something is adding 1. before 3 root files
Hi, I have a problem something is disabling my site version 3.9.1, site is without any nonjoomla extension or plugin.
I found that something renames these files :
configuration.php
error.php
index.php
to
1.configuration.php
1.error.php
1.index.php
FTP hosting is secured by only one IP address to login, admin also.
Do you have any advise?
I found that something renames these files :
configuration.php
error.php
index.php
to
1.configuration.php
1.error.php
1.index.php
FTP hosting is secured by only one IP address to login, admin also.
Do you have any advise?
-
- Joomla! Apprentice
- Posts: 20
- Joined: Wed Nov 15, 2006 1:47 pm
Re: Something is adding 1. before 3 root files
I just found out , that I had wrongly setup $log_path
Wrongly was there "www", right is "logs".
public $log_path = '/mnt/data/...../www';
Is possibility, that was the case of renaming? Because when I upgraded Joomla, files in logs folder rename same with prefix 1.
Wrongly was there "www", right is "logs".
public $log_path = '/mnt/data/...../www';
Is possibility, that was the case of renaming? Because when I upgraded Joomla, files in logs folder rename same with prefix 1.
-
- Joomla! Apprentice
- Posts: 26
- Joined: Sun Jul 22, 2007 7:34 pm
Re: Something is adding 1. before 3 root files
Is it still working for you ? We have this problem for a couple of months now and it's the first time I found out someone with the same problem.
-
- Joomla! Apprentice
- Posts: 20
- Joined: Wed Nov 15, 2006 1:47 pm
Re: Something is adding 1. before 3 root files
No, after I had corrected $log_path in configuration.php, everything goes well.
-
- Joomla! Fledgling
- Posts: 3
- Joined: Sun May 19, 2013 2:46 pm
Re: Something is adding 1. before 3 root files
Did you fixed it? and how because i am having this same problem also after my server have moved my files???mauderific wrote: ↑Mon Jun 10, 2019 5:47 pmIs it still working for you ? We have this problem for a couple of months now and it's the first time I found out someone with the same problem.
- leolam
- Joomla! Master
- Posts: 20652
- Joined: Mon Aug 29, 2005 10:17 am
- Location: Netherlands/ Germany/ S'pore/Bogor/ North America
- Contact:
Re: Something is adding 1. before 3 root files
Correct $log_path in configuration.php to reflect the proper log path
Leo
Leo
Joomla's #1 Professional Services Provider:
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -
-
- Joomla! Enthusiast
- Posts: 154
- Joined: Sat Sep 21, 2019 7:29 pm
- Contact:
Re: Something is adding 1. before 3 root files
I think it's unlikely that your log path is changing file names. If it was I would expect the path to have the number 1 in it somewhere. When we see odd file names on a server it usually means the site was hacked.
- leolam
- Joomla! Master
- Posts: 20652
- Joined: Mon Aug 29, 2005 10:17 am
- Location: Netherlands/ Germany/ S'pore/Bogor/ North America
- Contact:
Re: Something is adding 1. before 3 root files
That is incorrect. I have explained the reason. Don't post conclusions if you are not aware of what is happeninghelpwithjoomla wrote: ↑Tue Sep 24, 2019 11:28 pmI think it's unlikely that your log path is changing file names. If it was I would expect the path to have the number 1 in it somewhere. When we see odd file names on a server it usually means the site was hacked.
Leo
Joomla's #1 Professional Services Provider:
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -
-
- Joomla! Enthusiast
- Posts: 154
- Joined: Sat Sep 21, 2019 7:29 pm
- Contact:
Re: Something is adding 1. before 3 root files
Jeez leolam. I made a mistake. I'm sorry. [ redacted ]
Last edited by toivo on Fri Sep 27, 2019 12:40 am, edited 1 time in total.
Reason: mod note: comment removed, please follow the forum rules, available from https://forum.joomla.org/viewtopic.php?f=8&t=65
Reason: mod note: comment removed, please follow the forum rules, available from https://forum.joomla.org/viewtopic.php?f=8&t=65
-
- Joomla! Intern
- Posts: 67
- Joined: Sun Nov 24, 2019 5:04 pm
Re: Something is adding 1. before 3 root files
I've been struggling with this same issue since moving a site and the past three times, I just go in and delete the "1." added to the front of the three files (configuration.php; index.php; and joomla_update). I checked the path to the logs and perhaps Leo can answer this one (you've been so helpful in the past). The actual path to get into the logs folder is: "/home/***/***.com/logs" The path that is in the configuration file is: "public $log_path = '/home/***/***.com';" To fix it from adding the "1." to the front of the files, would I add the "/logs" and is that the proper line item, i.e. "public" because I did not see any other, unless it is in another location? I am not super techy so I really appreciate any help.
-
- Joomla! Apprentice
- Posts: 20
- Joined: Wed Nov 15, 2006 1:47 pm
Re: Something is adding 1. before 3 root files
For me it was solved by correcting $log_path and $tmp_path.
You can detect your absolute path by this,
1. create path.php and paste code below.
2. put path.php to root of your site via FTP
3. run path.php via correct url https://www.yoursite.com/path.php
4. copy result to $log_path and $tmp_path in your configuration.php file and add /administration/logs & /tmp to $log_path and $tmp_path.
You can detect your absolute path by this,
1. create path.php and paste code below.
2. put path.php to root of your site via FTP
3. run path.php via correct url https://www.yoursite.com/path.php
4. copy result to $log_path and $tmp_path in your configuration.php file and add /administration/logs & /tmp to $log_path and $tmp_path.
Code: Select all
<?php
$path = getcwd();
echo "Your Absoluthe Path is: ";
echo $path;
?>
- JAVesey
- Joomla! Hero
- Posts: 2636
- Joined: Tue May 14, 2013 1:21 pm
- Location: Cardiff, Wales, UK
- Contact:
Re: Something is adding 1. before 3 root files
Thank you for this.
Quick Q: please can you clarify the above instruction? It doesn't make sense
TIA
John V
Cardiff, Wales, UK
Joomla 5.1.0 "live" site on PHP 8.2.15 and MariaDB 10.11.7
Joomla 5.1.0 on XAMMP for OSX with PHP 8.2.4 and MariaDB 10.4.28
Cardiff, Wales, UK
Joomla 5.1.0 "live" site on PHP 8.2.15 and MariaDB 10.11.7
Joomla 5.1.0 on XAMMP for OSX with PHP 8.2.4 and MariaDB 10.4.28
- toivo
- Joomla! Master
- Posts: 17439
- Joined: Thu Feb 15, 2007 5:48 am
- Location: Sydney, Australia
Re: Something is adding 1. before 3 root files
Here is an example. The script may display the following absolute path:
Now you can edit the server paths in the file configuration.php or in the back end at System - System Configuration:
Code: Select all
/home/fwbkxyzh/public_html
Code: Select all
/home/fwbkxyzh/public_html/administrator/logs
/home/fwbkxyzh/public_html/cache
/home/fwbkxyzh/public_html/tmp
Toivo Talikka, Global Moderator
- JAVesey
- Joomla! Hero
- Posts: 2636
- Joined: Tue May 14, 2013 1:21 pm
- Location: Cardiff, Wales, UK
- Contact:
Re: Something is adding 1. before 3 root files
Thank you all
John V
Cardiff, Wales, UK
Joomla 5.1.0 "live" site on PHP 8.2.15 and MariaDB 10.11.7
Joomla 5.1.0 on XAMMP for OSX with PHP 8.2.4 and MariaDB 10.4.28
Cardiff, Wales, UK
Joomla 5.1.0 "live" site on PHP 8.2.15 and MariaDB 10.11.7
Joomla 5.1.0 on XAMMP for OSX with PHP 8.2.4 and MariaDB 10.4.28