Problem from accidental deletion

Started by katerix, June 30, 2012, 03:17:29 PM

Previous topic - Next topic

katerix

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.

kat

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.

katerix

no, not it is. If you can not do anything, that's it...

kat

Can you post a link to your site, please?


kat

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?

katerix

Filezilla. And I did exactly what you have written.

kat

You had Filezilla's "Transfer type" set to "Binary"?

katerix


kat

That might be your problem, then.

It's a "feature" of Filezilla. Try uploading the files, again, with that set to "binary".

katerix

#10
What permissions must be default folder and index.php?

MrPhil

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.

katerix


kat


katerix

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.

kat

It works and that's what matters. :)

Well done!

Advertisement: