brudan Posted September 12, 2015 Share Posted September 12, 2015 At some point while messing around and checking things out a while back I entered some text into a page and now I cannot for the life of me find where I entered it at. I have looked at index.php and a score of others and cannot find it. If you look at www.bslsales.com/catalog/index.php and under the welcome guest part you will see a simple.... whooo hooo... I don't want that there.. lol Anyone tell me what page I typed this in? Its been so long ago and I can't for the life of me find it. Thanks.. all criticism is welcome LOL. Link to comment Share on other sites More sharing options...
Hotclutch Posted September 12, 2015 Share Posted September 12, 2015 There are 2 index.php', did you check both? Link to comment Share on other sites More sharing options...
♥14steve14 Posted September 12, 2015 Share Posted September 12, 2015 Search through the language files. It could be in the index.php file or the english.php one. If you can it should be possible to open the files in something like notepad++ and search the terms you are looking for. Should save you ages looking. REMEMBER BACKUP, BACKUP AND BACKUP Link to comment Share on other sites More sharing options...
MrPhil Posted September 12, 2015 Share Posted September 12, 2015 On a Linux server or PC, use the "grep" command to look for specific text strings. On Windows servers and PCs, use "findstr" to search. Link to comment Share on other sites More sharing options...
♥bruyndoncx Posted September 12, 2015 Share Posted September 12, 2015 this little admin contribution Developer Tool Kit is handy to find little pieces like this http://addons.oscommerce.com/info/8377 KEEP CALM AND CARRY ON I do not use the responsive bootstrap version since i coded my responsive version earlier, but i have bought every 28d of code package to support burts effort and keep this forum alive (albeit more like on life support). So if you are still here ? What are you waiting for ?! Find the most frequent unique errors to fix: grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt Link to comment Share on other sites More sharing options...
aviscat Posted September 13, 2015 Share Posted September 13, 2015 @@brudan It should be in catalog/includes/languages/english/index.php near line 13 define('TEXT_MAIN' That is where I did my welcome message Link to comment Share on other sites More sharing options...
brudan Posted September 13, 2015 Author Share Posted September 13, 2015 thanks everyone... so far nothing.. lol.. its got to be there somewhere.. I will keep searching. ok.. maybe this will help.. when I inspect the element its also showing: Welcome guest! Would you like to log yourself in etc etc.... Could it be in that page? and what page would that be? I am confused at this point. Link to comment Share on other sites More sharing options...
♥14steve14 Posted September 13, 2015 Share Posted September 13, 2015 Nearly every file in your shops root folder will have a corresponding language file in the includes/language/your language folder. So you will have a file called conditions.php in your root folder and also a language file called conditions.php in the includes/language/your language folder. Most of the language defines are contained in the folder with the same name. There are a few exceptions where the language define can be used in more than one place. These words are usually found in the includes/language/english.php file, which is where the term you are looking for is found. Once you get a loose sort of grip on things its not really that hard, but it does take a bit of getting used too. I hope the above explanation makes sense. REMEMBER BACKUP, BACKUP AND BACKUP Link to comment Share on other sites More sharing options...
Hotclutch Posted September 13, 2015 Share Posted September 13, 2015 have you looked in catalog/index.php - maybe you added it in directly there instead of one of the language files. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.