XFileSharing Pro - problem with editing cgi folder ?? it's giving me error 500?

Message
Author
deenu
Posts: 2
Joined: Nov 26, 2015 9:06 am

problem with editing cgi folder ?? it's giving me error 500?

#1 Postby deenu » Nov 26, 2015 9:12 am

Hello,

I'm integerating a new payment module in website script. but when I try edit any files in cgi folder (index.cgi) it's giving me error. not only that but even I am undoing my changes it's not working when I got 500 error I have to upload files from backup.

I make following changes:

index.cgi:

I had copy and paste "report_file => \&ReportFile," and rename to "report_file1 => \&ReportFile1," [in my $sub={...}]
copy and paste "sub" of "ReportFile" and rename to "sub ReportFile1{}"
Templates/report_file.html:

copy and paste file "report_file.html" and rename it to "report_file1.html".
I didn't change any code in file or sub but still i got 500 error. Please any one can help me?

I also found that even if i add/remove single space in index.cgi i got same error.

Regards,

admin
Site Admin
Posts: 1833
Joined: Mar 22, 2006 12:32 pm

#2 Postby admin » Nov 26, 2015 1:15 pm

Seems you messed syntax. Or added incorrect line breaks.

deenu
Posts: 2
Joined: Nov 26, 2015 9:06 am

#3 Postby deenu » Nov 26, 2015 3:28 pm

i checked syntanx and everything. i try to edit anytihng it give error :(


Return to “XFileSharing Pro”