Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved [General] Corrupted(?) php files
#1
Not Solved
This user has been denied support. This user has been denied support.
I just downloaded my forum files, and now see there's a problem with all my php files.

There's a blank line below every code line.

Maybe wrong encoding?

Example:

.php   forumdisplay.php (Size: 32.86 KB / Downloads: 40)

Thanks!
I'm a proud MyBB user. Toungue
#2
Not Solved
This user has been denied support. This user has been denied support.
That's mangled DOS/MAC newlines... can be caused by a bad editor, or even ftp clients. If possible, ftp transfers for php files should be in ascii mode, that fixes the newlines depending on the client / host system you're transferring to. It won't fix already broken files though so you'll just have to redownload the original package from mybb.com or something.
#3
Not Solved
This user has been denied support. This user has been denied support.
Thanks!

I used WinSCP first time. So, maybe that's the problem.
(I use notepad++ and CoreFTP normally.)

Ok, i reupload all things.


Ok, i uploaded all the mybb files, all plugin files. Something what i forgotten?
I'm a proud MyBB user. Toungue
#4
Not Solved
This user has been denied support. This user has been denied support.
So... I uploaded all the mybb files, all plugin files. Something what i forgotten?

Ty.
I'm a proud MyBB user. Toungue
#5
Not Solved
This user has been denied support. This user has been denied support.
Javascript files come to mind... oh right, you said mybb files, not PHP files, my bad sorry. Custom language packs maybe. And maybe .htaccess, robots.txt and inc/config.php
#6
Not Solved
This user has been denied support. This user has been denied support.
Ok. The config.php are not broken. That's interesting...
I'm a proud MyBB user. Toungue
#7
Not Solved
config.php is written to by the installer so that wouldn't be affected, the double lines would be due to an editor/unzipping/ftp client as explained above.
MyReactions - All Plugins

Can you still feel the butterflies?

Free never tasted like pudding.
#8
Not Solved
This user has been denied support. This user has been denied support.
Ok, but this is not a new site, that's why i don't understand, why just the config.php are correct.
I'm a proud MyBB user. Toungue
#9
Not Solved
As I just said, the other files could have been broken by a text editor, or by uploading/FTPing them, but config.php is written to by the installer, so cannot be affected in the same way as the other files.

Let's just say the double lines were caused when the files were uploaded via FTP. config.php is not uploaded via FTP, it doesn't even exist in the main download, it is written to by the installer, but all the other files were uploaded via FTP, so they had double lines. config.php was not uploaded via FTP, so does not have double lines.
MyReactions - All Plugins

Can you still feel the butterflies?

Free never tasted like pudding.
#10
Not Solved
This user has been denied support. This user has been denied support.
Opps... Sorry.

I downloaded and uploaded my BACKUP, so not the fresh mybb files.

Maybe mybb regenerated the config file?
I'm a proud MyBB user. Toungue


Forum Jump:


Users browsing this thread: 1 Guest(s)