Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

help with new installation


  • You cannot reply to this topic
4 replies to this topic

#1 zack1130

  • Community Member
  • 30 posts
  • Real Name:Michael Abramzon

Posted 22 January 2012, 15:20

Hello and thank you in advance for the help.

I have a problem, i lost my development laptop and trying to move my production web site to my new laptop. Production site is hosted and up and running fine.

I am getting the following error when launching admin:

------------------------------------------------------------------------------------------------------------------------------------------

Warning: include(includes/languages/english/) [function.include]: failed to open stream: No such file or directory in C:\web\lavishkids.com\admin\includes\application_top.php on line 133

Warning: include() [function.include]: Failed opening 'includes/languages/english/' for inclusion (include_path='.;c:\php\includes;C:\web\lavishkids.com;C:\web\lavishkids.com\admin;C:\web\lavishkids.com\catalog;C:\web\lavishkids.com\catalog\includes') in C:\web\lavishkids.com\admin\includes\application_top.phpon line 133

Fatal error: Cannot re-assign $this in C:\web\lavishkids.com\admin\includes\classes\upload.php on line 31

-----------------------------------------------------------------------------------------------------------------------------------------------------


any ideas, please!

Thank you

#2 zack1130

  • Community Member
  • 30 posts
  • Real Name:Michael Abramzon

Posted 22 January 2012, 16:03

The problem has been solved: register_long_arrays = On has to be set in the php5.ini file.
Now i have a different error:
Fatal error: Cannot re-assign $this in C:\web\lavishkids.com\admin\includes\classes\upload.php on line 31
any ideas?

Thank you!

#3 geoffreywalton

  • Community Sponsor
  • 7,731 posts
  • Real Name:Geoffrey Walton
  • Gender:Male
  • Location:Norfolk, UK (close to the centre of the universe)

Posted 22 January 2012, 16:25

Try this in google

site:forums.oscommerce.com "Fatal error: Cannot re-assign $this"

There is a patch in rc2a for this

HTH

G
Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

Virus Threat Scanner
My Contributions
Basic install answers.
Click here for Contributions / Add Ons.
UK your site.
Site Move.
Basic design info.

For links mentioned in old answers that are no longer here follow this link Useful Threads.

If this post was useful, click the Like This button over there ======>>>>>.

#4 zack1130

  • Community Member
  • 30 posts
  • Real Name:Michael Abramzon

Posted 22 January 2012, 16:42

thank you

Geoffrey!



I just commented the line out, as per a suggestion form 2008!



all seems to work for now.



#5 geoffreywalton

  • Community Sponsor
  • 7,731 posts
  • Real Name:Geoffrey Walton
  • Gender:Male
  • Location:Norfolk, UK (close to the centre of the universe)

Posted 22 January 2012, 22:54

Pleasure, you can use the same technique for most osc related problems.

Cheers

G
Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

Virus Threat Scanner
My Contributions
Basic install answers.
Click here for Contributions / Add Ons.
UK your site.
Site Move.
Basic design info.

For links mentioned in old answers that are no longer here follow this link Useful Threads.

If this post was useful, click the Like This button over there ======>>>>>.