Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help, Help, Help, Urgent Help Required.


Guest

Recommended Posts

Posted

I sincerely hope someone can help me, in the process of trying to install a contribution that would tweak my attributes, I have killed my website.

 

I followed the instructions step by step and now i can not access my site and i have the following message:-

 

Warning: require(includes/classes/navigation_history.php) [function.require]: failed to open stream: No such file or directory in /home/mysakab1/public_html/mysakab/admin/includes/application_top.php on line 127

 

Warning: require(includes/classes/navigation_history.php) [function.require]: failed to open stream: No such file or directory in /home/mysakab1/public_html/mysakab/admin/includes/application_top.php on line 127

 

Fatal error: require() [function.require]: Failed opening required 'includes/classes/navigation_history.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mysakab1/public_html/mysakab/admin/includes/application_top.php on line 127

 

I backed up my website prior to attempting this but now i don't know how to restore my site from the backup.

 

I am at my wits end because i don't know how to fix this.

 

Please someone must know what i have done and how to fix it.

 

hopefully thank you in asvance.

Posted

Hello

 

Look at the files you changed then upload from your back up one at a time, this will tell you where you went wrong, it might be that this contribution is an old one and not usable on your version

Nic

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Posted

Ok i have gotten rid of the first lot of error messages now i i have the following one

 

Fatal error: Cannot redeclare do_magic_quotes_gpc() (previously declared in /home/mysakab1/public_html/mysakab/admin/includes/functions/compatibility.php:18) in /home/mysakab1/public_html/mysakab/admin/includes/functions/compatibility.php on line 30

 

I have tried fixing it the same as before but that hasn't worked.

 

any suggestions please.

Posted

i got the solution for that one

 

just go on file

 

compability.php

 

and comment like this

 

////

// Recursively handle magic_quotes_gpc turned off.

// This is due to the possibility of have an array in

// $HTTP_xxx_VARS

// Ie, products attributes

//function do_magic_quotes_gpc(&$ar) {

// if (!is_array($ar)) return false;

 

//reset($ar);

// while (list($key, $value) = each($ar)) {

// if (is_array($ar[$key])) {

// do_magic_quotes_gpc($ar[$key]);

// } else {

// $ar[$key] = addslashes($value);

// }

// }

// reset($ar);

// }

 

it will work

Posted

what does 'comment like this' mean.

 

I tried finding the section and copying and pasteing in the section you gave me but that didn't work.

 

any other suggestions

thanks

Posted

Comment means

 

putting // at the begining

 

Though before commenting it all out

 

Check the

 

reset($ar);

 

is actually there, if not try adding it first.

It depends which version you use.

Nic

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Posted

Now i have this error...

 

Parse error: syntax error, unexpected T_STRING in /home/mysakab1/public_html/mysakab/includes/application_top.php on line 76

 

// initialize the logger class
 require(DIR_WS_CLASSES . 'logger.php'includes/classes/logger.php(include_path=.:/usr/lib/php:/usr/local/lib/php' (include_path='.:/usr/lib/php:/usr/local/lib/php');

 

This is the lines that i think are the problem.

 

thanks

Posted

Now i have this error...

 

Parse error: syntax error, unexpected T_STRING in /home/mysakab1/public_html/mysakab/includes/application_top.php on line 76

 

// initialize the logger class
 require(DIR_WS_CLASSES . 'logger.php'includes/classes/logger.php
(include_path=.:/usr/lib/php:/usr/local/lib/php' (include_path='.:/usr/lib/php:/usr/local/lib/php');

This is the lines that i think are the problem.

 

thanks

Posted
I backed up my website prior to attempting this but now i don't know how to restore my site from the backup

 

If by 'backup' you mean that you created a backup of the database under Tools --> Backups in osC Admin then that only covers the database and not files.

 

If you downloaded a backup of the files by FTP before you started this then all you have to do is to upload them back to the correct location to resolve the problem.

 

Vger

Posted

That call should be in ADMIN / includes / application_top.php

 

You error says it is in CATALOG / includes / application_top.php

 

You sure you have the correct file in place?

 

Nic

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Posted

Thankyou all very much

 

I have fixed the problem, and i am learn more and more everyday in repect to backing up and ftp.

all i can say is thank godness for smart people in these forms.

 

Cheers

Christine

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...