|
|
#1 |
|
Member
Join Date: Apr 2007
Posts: 65
Rep Power: 11 ![]() |
After my problem with 2 Trojan files, I found that a lot of other files like the index.htm files had bad code so I started replacing them. I think I've gone wrong somewhere and now I have the following problem.
When you are not logged in and it shows Welcome Guest insted of the members name, when you click on add ad insted of it going to userlogin.php it goes to usercheckout.php (choose category). Where have I gone wrong? |
|
|
|
|
|
#2 |
|
The Master
Join Date: Mar 2006
Location: British in Argentina
Posts: 1,400
Rep Power: 45 ![]() ![]() |
Sounds to me like there is some whitespace somewhere in the code. Normally the usercheckout will redirect you to login if you aint. Redirects wont work if there is some whitespace in the code such as before or after the <? ?>
Just one little space can cause this. Ive no idea where the space might be. You may need to go through a whole lot of functions to find it. Thats assuming this is the problem.
__________________
**Bulk Upload System** has been upgraded. Works on all v4 versions with new functionality. Free upgrade for existing customers. |
|
|
|
|
|
#3 | |
|
68 Evangelist & Developer
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 1,624
Rep Power: 47 ![]() ![]() |
Quote:
-Mike
__________________
Mike-N-Tosh IndianaPC.org - A community website (v3.1.10 Developer - heavily modified) Sandbox (v3.1.10, v4.0.9, 4.1.3) Visit My blog for tips, tricks, tutorials, reviews for 68 Classifieds as well as my store with Templates, Mods & Docs Web Hosting | Web Design & Development | 68 Classifieds Customizations I am not a 68C employee, just a user and try to help out |
|
|
|
|
|
|
#4 |
|
Coder
Join Date: Mar 2006
Posts: 4,564
Rep Power: 111 ![]() ![]() |
I take it you didnt have a backup of your site?
|
|
|
|
|
|
#5 |
|
Member
Join Date: Apr 2007
Posts: 65
Rep Power: 11 ![]() |
Larry I do have a backup but from time back and I've made changes since. At the time I was right into it but now as I haven't done anything with the site for some time I've lost touch. I just thought I may have had a usefull reply so I could just change the files I needed to.
|
|
|
|
|
|
#6 | |
|
Coder
Join Date: Mar 2006
Posts: 4,564
Rep Power: 111 ![]() ![]() |
Quote:
Heck, for all we know the trojan wreaked havoc with you .htaccess file and you links are different because of that. Wish I had a good answer for you but the best bet would be to start with a clean slate. Delete all your files and restore a backup. I know its not what you want to hear but your situation is a good lesson to everyone how important backups are. |
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Search Page Problem. URGENT!!! | Pierce | v3.1 Questions & Support | 2 | 10-02-2007 02:12 PM |
| Host or Script problem? | Grebogreen | v3.1 Questions & Support | 3 | 05-08-2007 09:49 AM |
| Admin icons problem | Sinisa | v3.1 Questions & Support | 4 | 01-18-2007 10:54 AM |
| 3.1.5b admin login problem | Sinisa | v3.1 Questions & Support | 14 | 01-07-2007 10:15 AM |
| File Upload Feature Problem | sporthorsebreeder | v3.1 Questions & Support | 9 | 07-27-2006 09:34 AM |