PDA

View Full Version : Post edit error plz help


shahidbaloch
01-17-2014, 04:03 PM
Hi dear

I am using vbulletin 4.2.2 & i have post edit error msg.
after editing when i save the post i have following error.
why this error msg is shown?

147849

Max Taxable
01-17-2014, 04:10 PM
When did this start? I suspect perhaps your host upgraded PHP.

ozzy47
01-17-2014, 04:28 PM
Have you tried on a unmodified default style?
Have you tried with all mods disabled?
What vB version and PHP version are you running?

shahidbaloch
03-09-2014, 04:54 PM
Have you tried on a unmodified default style?
Have you tried with all mods disabled?
What vB version and PHP version are you running?

yes I tried with default and unmodified style and without mods.
VB version is 4.2.2 and PHP version is 5.4.25.

ozzy47
03-09-2014, 04:55 PM
Try adding the following line to your config.php under the <?php line:

define('SKIP_ALL_ERRORS', true);

shahidbaloch
03-09-2014, 05:22 PM
Try adding the following line to your config.php under the <?php line:

define('SKIP_ALL_ERRORS', true);

I have add this but it sent this error

148399

I remove this line but this message is showing and forum is not open :(
plz give me a solution immediately

ozzy47
03-09-2014, 05:25 PM
You need to edit the config file with notepad++ not notepad or wordpad.

I suspect it has added a blank space at the beginning of the file.

http://notepad-plus-plus.org/download/v6.5.5.html

shahidbaloch
03-09-2014, 05:28 PM
You need to edit the config file with notepad++ not notepad or wordpad.

I suspect it has added a blank space at the beginning of the file.

http://notepad-plus-plus.org/download/v6.5.5.html

now there is no space at the beginning
now my forum is stuck plz give me solution immediately

ozzy47
03-09-2014, 05:29 PM
PM me your FTP info, and a link to the site, and I will see what I can do.

shahidbaloch
03-09-2014, 05:33 PM
PM me your FTP info, and a link to the site, and I will see what I can do.

if I replace config.php it will be ok?

ozzy47
03-09-2014, 05:35 PM
If you add all your current info into it is should be, but if you do that I will no longer be able to do anything, as I won't know the original status.

You could upload a new one, and rename the old one to config.php.old, so you won't loos any original info.

shahidbaloch
03-09-2014, 05:39 PM
If you add all your current info into it is should be, but if you do that I will no longer be able to do anything, as I won't know the original status.

You could upload a new one, and rename the old one to config.php.old, so you won't loos any original info.

Ok I am try to do so.
if problem persist then I'll give u ftp info
but why it happend?

ozzy47
03-09-2014, 05:42 PM
Editing files with notepad will sometimes add a UTF8bom in the files, causing you issues, that is why it is best to edit them with notepad++

shahidbaloch
03-09-2014, 05:45 PM
Editing files with notepad will sometimes add a UTF8bom in the files, causing you issues, that is why it is best to edit them with notepad++

if I edit it again with notepad++ it will be ok?

if I replace it with new config.php the forum will run normally?

ozzy47
03-09-2014, 05:46 PM
If you do a new config file, and add all your info into it from the old file, with notepad++ it should be ok.

shahidbaloch
03-09-2014, 05:51 PM
If you do a new config file, and add all your info into it from the old file, with notepad++ it should be ok.

do you means I must copy old config.php data into new?

ozzy47
03-09-2014, 05:52 PM
No not the data, any changes that are in there such as,
$config['Database']['dbname'] = 'XXXXXXX';
$config['MasterServer']['username'] = 'XXXXXXX';
$config['MasterServer']['password'] = '[XXXXXXXX]';

shahidbaloch
03-09-2014, 05:54 PM
No not the data, any changes that are in there such as,
$config['Database']['dbname'] = 'XXXXXXX';
$config['MasterServer']['username'] = 'XXXXXXX';
$config['MasterServer']['password'] = '[XXXXXXXX]';

I am sending u FTP info plz solve the issue.

ozzy47
03-09-2014, 05:56 PM
Did you make any changes to the file other than adding and removing the afore mentioned line?

shahidbaloch
03-09-2014, 05:57 PM
I did not change these area.

--------------- Added 1394387894 at 1394387894 ---------------

Did you make any changes to the file other than adding and removing the afore mentioned line?

no I did not any change just put that line that you give.
after error I remove that line.

--------------- Added 1394387929 at 1394387929 ---------------

FTP info send by pm to you plz check and solve the issue.

ozzy47
03-09-2014, 06:16 PM
Sorted, and I also added that line to your config that I described in post #5

shahidbaloch
03-09-2014, 06:20 PM
Sorted, and I also added that line to your config that I described in post #5

thanks alot dear now its working fine.
I have no words to thanks and express my feeling.
thanks alot alot

may I know the problem?

ozzy47
03-09-2014, 06:25 PM
I already told you the issue, when you edited it in notepad, it added a UTF-8 bom and probably did not save the file as ASCII plaintext, so all I did was upload a fresh copy, with all your required info that was needed.

shahidbaloch
03-09-2014, 06:31 PM
I already told you the issue, when you edited it in notepad, it added a UTF-8 bom and probably did not save the file as ASCII plaintext, so all I did was upload a fresh copy, with all your required info that was needed.

okz dear thanks alot alot
be happy always.

ozzy47
03-09-2014, 10:19 PM
Next time you decide to edit the config file, follow this article, https://vborg.vbsupport.ru/showthread.php?t=308457

Max Taxable
03-09-2014, 10:24 PM
Next time you decide to edit the config file, follow this article, https://vborg.vbsupport.ru/showthread.php?t=308457And that is true for ANY php file.