chrometweaks.org

Where can I find a free iPage web host?

Click Here To View All Answers...


First of all Where can I find a free iPage web host? Hoping for any response. Second question of mine... Help please, I'm a bit of a newbie..

I installed osCom about a month ago and have not had any problems until now..

I normally edit my files then upload them, but this time I used the built-in editor that comes with osCom. (my mistake).......

This is the following result:.

Parse error: parse error, unexpected T_STRING in //includes/languages/english.php on line 79.

From what I can tell it has something to do with 'BOX_HEADING_WHATS_NEW' as thats whats on line 79 in english.php.

This happened after I was in admin, config and was using the file manager to alter the english.php:.

Define('HEADER_TITLE_TOP', '.

Top.

'); to.

Something else.

Define('HEADER_TITLE_CATALOG', '.

Catalog.

'); to.

Something else.

As you can see all I changed was the text "Top" to something and the text "Catalog" to something else..

As for the error, this is what I see in line 79:.

// whats_new box text in includes/boxes/whats_new.php.

Define('BOX_HEADING_WHATS_NEW', '<a href="'tep_href_link(FILENAME_PRODUCTS_NEW)'">''Whats new''</a>');.

I cannot see anything with my limited knowledge but someone may know of something..

A very minor change which I did not see a problem with but I was wrong..

I tried uploading the original file but am still getting the same error?.

Appart from that I don't know much about php but can follow directions when given..

Any help would be appreictaed.

Or did I do something else???..

Comments (52)

Good question... I dunno what is the answer to your question. I'll do some research in Google and get back to you if I got an decent answer. You should email the people at iPage as they probably could answer your iPage question..

Comment #1

[quote name='xPATRIOTSx' date='Sep 29 2004, 03:13 AM'].

I don't know what happened there but replace that code with this:.

// whats_new box text in includes/boxes/whats_new.php.

Define('BOX_HEADING_WHATS_NEW', 'What\'s New?');.

Thanks for the response xPATRIOTSx..

No luck though, I've tried deleting and replacing the file too..

It's got me stuffed, I though it might have been the server misbehaving but everything else is working fine....

As we say here in kiwiland.

BUGGER.

Might be time to have a break and come back with some fresh eyes.

Thanks again..

Comment #2

You have a few problems going on I think;.

File manager sometimes leaves a space after the ?> at the end of a file that can mess things up. Check for the extra space and delete it. As said, don't use it..

You have // in front of includes. This is a problem with your configure file. Does the // come up in your adress bar?.

If you have;.

Define('DIR_WS_INCLUDES', '/includes/');.

Try;.

Define('DIR_WS_INCLUDES', 'includes/');.

Back up first!!!!!.

I don't know what you were doing here but it should be;.

// whats_new box text in includes/boxes/whats_new.php.

Define('BOX_HEADING_WHATS_NEW', 'What\'s New?');.

The only thing I can see with what you had is.

WHATS_NEW''<a href= < should benot , but I am no PHP expert..

The english.php file just spells out the english version of the titles and should not be used for much else. The german.php file spells out the german version of the same thing. Don't use it to link to files, that is done elsewhere...

Comment #3

Thanks Java Roasters.

Sorry but the // in front of includes was a typo when I was trimming down the file location..

This was just linking the box heading, worked fine until now and I doubt that this is the problem.

But you never know so I have changed it.........still no good.

The only other thing I think it might be is something to do with chmod..

The server was upgraded a few days ago and that might be upsetting something???.

Could someone point me to the chmod settings?.

Just a wildshot before reinstalling the lot!..

Comment #4

FIXED IT !!.

Must have fluked it..

I ended up going back to the osCom file manager and deleting the english.php.

Then made a new file called english.php (again still in the online editor), pasted in the original code from a backup and it worked?.

One things for sure, I wont use the built-in file editor again.

Thanks all for the pointers, I'm sure it helped..

Heres what I'm playing with.

Wiredkiwis.

This post has been edited by.

Wiredkiwis.

: 29 September 2004, 22:59..

Comment #5

There's an excellent free editor called TextPad, invaluable when working with osCommerce. It allows you to search for all references to a word/words/file pathway on your site, and then replace them all - similar to FrontPage - but much more quickly!.

Vger..

Comment #6

Thanks Vger.

I'll have a look at it but I normally use Dreamweaver.

Just not on this occasion! NEVER AGAIN.

Now I just have to get back to what I was trying to do in the first place, which is:.

Changing the 'Breadcrumb nav'...All I want to do is change the text "Top" and "Catalog" to something else but can't seem to find which file to alter....

Any ideas?.

Thanks..

Comment #7

UPDATE.

To Change the breadcrumb nav I altered the includes/languages/english.php.

File at about line 55/56.

// header text in includes/header.php.

Define('HEADER_TITLE_TOP', 'Top');.

Define('HEADER_TITLE_CATALOG', 'Catalog');.

Altering the 'Top' and 'Catalog' will change what is displayed in the nav..

Before it looked like.

Top Catalog.

And now it's.

WiredKiwis eShop.

Or whatever you want to call it..

I did this because the "Top" is not the Shop and it was directing to my homepage..

I have the shop installed in a subdirectory,.

"Catalog" just didn't do it for me....

Another happy newbie..

Comment #8

Help please, I'm a bit of a newbie..

I installed osCom about a month ago and have not had any problems until now..

I normally edit my files then upload them, but this time I used the built-in editor that comes with osCom. (my mistake).......

This is the following result:.

Parse error: parse error, unexpected T_STRING in //includes/languages/english.php on line 79.

From what I can tell it has something to do with 'BOX_HEADING_WHATS_NEW' as thats whats on line 79 in english.php.

This happened after I was in admin, config and was using the file manager to alter the english.php:.

Define('HEADER_TITLE_TOP', '.

Top.

'); to.

Something else.

Define('HEADER_TITLE_CATALOG', '.

Catalog.

'); to.

Something else.

As you can see all I changed was the text "Top" to something and the text "Catalog" to something else..

As for the error, this is what I see in line 79:.

// whats_new box text in includes/boxes/whats_new.php.

Define('BOX_HEADING_WHATS_NEW', '<a href="'tep_href_link(FILENAME_PRODUCTS_NEW)'">''Whats new''</a>');.

I cannot see anything with my limited knowledge but someone may know of something..

A very minor change which I did not see a problem with but I was wrong..

I tried uploading the original file but am still getting the same error?.

Appart from that I don't know much about php but can follow directions when given..

Any help would be appreictaed.

Or did I do something else???..

Comment #9

I don't know what happened there but replace that code with this:.

// whats_new box text in includes/boxes/whats_new.php.

Define('BOX_HEADING_WHATS_NEW', 'What\'s New?');.

That's what is in my english.php, so hopefully that fixes it for you. If you're still getting a parse error try deleting the file then uploading the original. Maybe it isn't overwriting for whatever reason..

Try not to edit in the file manager if possible. For some reason it would always muck up the code, for me anyway. Edit in something like Dreamweaver instead. You can download a fully functional trial Dreamweaver at Macromedia...

Comment #10


This question was taken from a support group/message board and re-posted here so others can learn from it.