Web Hosting Vodahost    

Home Take The Royal Tour! Order Now Features Prices
Go Back   Web Hosting > VodaHost Web Hosting Support > mySQL & PHP

Notices

mySQL & PHP Discussions, information and help with mySQL and PHP.

Reply
 
LinkBack Thread Tools
  #1  
Old 01-09-2007, 12:08 PM
AWS's Avatar
AWS AWS is offline
First Lieutenant
 
Join Date: Jan 2006
Posts: 168
Default adding to a php script

Hi,

I have a php script index.php attached of which I tried to edit by placing the following text......

"Welcome to the Colleen Bawn Fine Foods Online Store. Please feel free to browse. Colleen Bawn Fine Foods, formerly Captain Jacks of Boston accept cheques, postal orders and credit cards. Credit card payments are made through Paypals secured site for your protection. All cheques & Postal Orders should be made out to Colleen Bawn Fine Foods and sent to....Boston & Limerick Coffee Roasting Co., C/O Cross Refridgeration Ltd., Roxboro Shopping Centre, Limerick, Ireland."

into the script after the TEXT_MAIN and in between the ' ' within the script but when I uploaded the script in FTP the oscommerce template site has disappeared.

I have attached the script and would greatly appreciate if you would look at it and tell me where I went wrong and exactly where to add so as to edit.

Thanks,
Liam
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old 01-09-2007, 12:42 PM
AWS's Avatar
AWS AWS is offline
First Lieutenant
 
Join Date: Jan 2006
Posts: 168
Default Re: adding to a php script

oscommerce template located at www.colleenbawn.com/store
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old 01-09-2007, 01:15 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 9,346
Default Re: adding to a php script

You probably have a permissions issue. Please send me your loggin details for this account.
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old 01-09-2007, 04:07 PM
AWS's Avatar
AWS AWS is offline
First Lieutenant
 
Join Date: Jan 2006
Posts: 168
Default Re: adding to a php script

Quote:
Originally Posted by navaldesign
You probably have a permissions issue. Please send me your loggin details for this account.
sent details to your e-mail address
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old 01-09-2007, 05:13 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 9,346
Default Re: adding to a php script

Liam,

the file that you have sent me has NOTHING to do with the "index.php" of OSCommerce. Indded, this is one of the included files, that defines titles and looks to see what categories or subcategories exist.

Now, i have replaced it with the original OSC index page, and your site is up and running. I have also kept a backup of the file, in case you would need it. What i don't know (however i think it this is not the case) is whether the customization work that you have already done, affects this file also (index.php) but i think not.
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old 01-09-2007, 05:25 PM
AWS's Avatar
AWS AWS is offline
First Lieutenant
 
Join Date: Jan 2006
Posts: 168
Default Re: adding to a php script

Thanks Naval Design....All is as I had it before I tried to edit the index.php.

If I wish to edit this front page of store do I edit index.php that can be found on the ftp manager of website? or do I edit something else?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old 01-09-2007, 05:35 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 9,346
Default Re: adding to a php script

I really have no experience with OSC Liam. However, i beleive it is something in the "includes" folder or, i beleive, should be something to do directly from your administration area. OSC authors don't expect users to know anything about file editing, so there should be some kind of cusomization feature in your admin area.
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old 01-09-2007, 05:40 PM
AWS's Avatar
AWS AWS is offline
First Lieutenant
 
Join Date: Jan 2006
Posts: 168
Default Re: adding to a php script

Yes.....thanks again for all your help....you are a life saviour and definitly my hero at this moment.

Hope I didn't bother you too much or distract you from your own work.

I promise that when I am purchasing a boat that I will get you to design me one. LOL.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9  
Old 01-09-2007, 05:43 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 9,346
Talking Re: adding to a php script

Quote:
Originally Posted by bevilleliam
Yes.....thanks again for all your help....you are a life saviour and definitly my hero at this moment.

Hope I didn't bother you too much or distract you from your own work.

I promise that when I am purchasing a boat that I will get you to design me one. LOL.
! ! !
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10  
Old 04-07-2007, 06:22 PM
AWS's Avatar
AWS AWS is offline
First Lieutenant
 
Join Date: Jan 2006
Posts: 168
Red face Re: adding to a php script

Quote:
Originally Posted by navaldesign
Liam,

the file that you have sent me has NOTHING to do with the "index.php" of OSCommerce. Indded, this is one of the included files, that defines titles and looks to see what categories or subcategories exist.

Now, i have replaced it with the original OSC index page, and your site is up and running. I have also kept a backup of the file, in case you would need it. What i don't know (however i think it this is not the case) is whether the customization work that you have already done, affects this file also (index.php) but i think not.
Hi Naval Design,

That back up you mention.Have you still got it as I have been editing the exact same php script and lo and behold I have done the same thing......thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT +1. The time now is 03:41 AM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC7
2005-2009 VodaHost Web Hosting Your Perfect Web Host - All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176