I uploaded a theme directly through ftp because it was too big, but I had to delete folders because I loaded the theme in theme manager, not the name of the theme directory. Then, by mistake, I deleted the file index.php and default theme. Now that gives me access site: theme_template_error. I uploaded the file index.php and default theme, but the same. I assume that some data were recorded there. How to fix? Note that no backup files to the database do not.
I manage to solve without losing categories and sections, because they are very much to do again.
You did what?!?!?
That's crazy, if you don't mind me saying so...
Even more crazy that you didn't backup, first.
Is this your site?
http://hlebopechka.ru
If it is, I can get in OK.
no, not it is. If you can not do anything, that's it...
Can you post a link to your site, please?
http://forumzonal.ro
You uploaded the default theme's files, overwriting everything in the directory named "default", yes?
You got those files from the SMF install archive, yes?
How did you upload the files and what did you use, to do that?
Filezilla. And I did exactly what you have written.
You had Filezilla's "Transfer type" set to "Binary"?
No, auto.
That might be your problem, then.
It's a "feature" of Filezilla. Try uploading the files, again, with that set to "binary".
What permissions must be default folder and index.php?
Please post in English (there is a separate Romanian language support board).
Directories (folders) are always 755, unless SMF complains that it can't write to a specific folder, in which case you try 775 and finally 777. Files are 644, or 664 or even 666 if SMF complains that it can't write to a specific file. Settings.php should be 444 Read-Only, to prevent its accidentally being emptied out. 777 and 666 are "world writable", and should be avoided if at all possible.
I did everything from 0.
You mean you reinstalled?
Yes. I did some cleaning to something I did not like. We have now made available by the host backup provider with one click. Both files, and database.
It works and that's what matters. :)
Well done!