vjboc Posted November 11, 2009 Posted November 11, 2009 I tried to modify admin/invoice.php and now I am getting an http 500 internal error when clicking invoice in admin. I copied the old code back in and the same thing happened. There is nothing modified in the old code. Does someone have a copy of invoice.php folder? Or can you help fix this? Thanks in advance Vinny
koliko Posted November 12, 2009 Posted November 12, 2009 How did U fix it m8? I have an error almost the same as yours. I downloaded the poroduct_list.php and edited some lines. After that i decided to keep the old file, so I uploadede it. Now i get the 500 error only on that page. How can i be fixed? I fixed the problem.
FIMBLE Posted November 12, 2009 Posted November 12, 2009 Hi It depends on how it was uploaded, check the permissions of the file on the server it should be 644 if its set higher it can cause this problem Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
vjboc Posted November 12, 2009 Author Posted November 12, 2009 How did U fix it m8? I have an error almost the same as yours. I downloaded the poroduct_list.php and edited some lines. After that i decided to keep the old file, so I uploadede it. Now i get the 500 error only on that page. How can i be fixed? Did you try uploading the old code at the server instead of osc edit. Sometimes if I try uploading a file at osc, it doesn't work. But if I go to the server and upload it , it works.
koliko Posted November 12, 2009 Posted November 12, 2009 Hi It depends on how it was uploaded, check the permissions of the file on the server it should be 644 if its set higher it can cause this problem Nic Thx for the fast replay.. What I can se under the admin panel i OSCommerce is follwing: -rwxrwxrwx from that i can see that it has to high permission i think. Is it possible to change that trough admin panel, or do i need to do it trough ftp?
koliko Posted November 12, 2009 Posted November 12, 2009 Did you try uploading the old code at the server instead of osc edit. Sometimes if I try uploading a file at osc, it doesn't work. But if I go to the server and upload it , it works. I will try to do that as sone as I find my logon details for the server :-) I think it will help, all the other files have different permissions that this file.. wird that it has been changed.
koliko Posted November 12, 2009 Posted November 12, 2009 Thx a lot guys.. It was the permission thing. It went to 777 in stead of 644. Fixed and rdy to move with development :-D
Recommended Posts
Archived
This topic is now archived and is closed to further replies.