Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

update problems


mystique71

Recommended Posts

Posted

hi everyone question:

 

I have 2.3.4 installed and since 2 days when it updates automatically my admin doesn't work anymore i get an error 404 page each time after the updates. so every singel time I have to restore an older backup so it's working again. does anyone which update files is causing these problems??

 

thanx in advance :)

Posted

hhmm in that case I am not sure what is happening all the time at my host but somehow when backups are created I constantly have these problems since a few days :(

Posted

Did you install osC from some sort of hosting "one button install" software repository (Fantastico, Softaculous, etc.)? Maybe it's configured to auto-update your installed software, in which case you should ask your host how to turn off the auto-update (it sounds like it's broken, anyway).

Posted

it's a one button install software. i turned off the auto-update ( i hope) so i hope I won't be facing the same promblems again tomorrow.

 

but this is what I get when it does the updates: I get that error file plus it suddenly says it requires SSL while I do have SSL ???? so what on earth is going on with these backups? 

Posted

ppss one more thing: I am so sorry being a pain at the moment nut I just can;'t stand the fact that things aren't the way they should be:

 

how do I get my admin dashboard back to the way it is supposed to be? see image: it's annoying me a lot

 

 

post-337115-0-15714600-1446651298_thumb.jpg

Posted

Ask your hosts whether they do auto backups of the site. Mine does it on a daily basis and keeps them to 30 days. If they do ask them to restore the site to a date that you know it was working on.

 

Failing that hopefully you have a working backup on your computer somewhere. Use that to restore all the files.

REMEMBER BACKUP, BACKUP AND BACKUP

Posted

I am backing up all the time now just in case but I still need to know how I get my admin back to normal :(

Posted

Your admin is looking for the wrong Javascript files. This happens in admin/includes/template_top.php. Find the correct version of that file and upload it. If you don't have a copy of that file in your backup, go to http://www.oscommerce.com/Products and download a clean set of files.
 
Regards
Jim

See my profile for a list of my addons and ways to get support.

Posted

The Javascript files may have been deleted. Get the files in /ext/jquery/ from your backup or the stock osCommerce download and upload those to your server. Make a backup of this directory first in case this changes the front end.

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

Posted

Open your admin in Firefox, then right click on the page and select View Source. Click on each of the links in the top part of the page, one at a time. If you get one that gives you a 404 not found page, make note of the link that you clicked on. That is what you are missing. There may be more than one, so try them all. If you can't figure out what file is missing, post the link(s) here and we'll take a look.

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

Posted

ahhh thank you for your help i think I now know what the problem is i hope:  

 

this is what the link says:

<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /catalog/ext/jquery/ui/redmond/jquery-ui-1.10.4.min.css was not found on this server.</p>
<p>Additionally, a 404 Not Found

but It needs a different folder instead of catalog called webwinkel so where do I change the urls so it will correctly link it to those files? do I need to change this in admin/includes/template.top?

Posted

ps I was wondering: are the above problems also the reason why the update shopping cart isn't working anymore??

Posted

pppffff I really don't understand where and how I change the directory to the right location. this is where my files are: https://www.uniquegiftcreations.nl/webwinkel/ext/jquery/ui/redmond/jquery-ui-1.10.4.min.css

 

but how on earth do I change it and would be in in both template top files?

 

this is in my template.top file:

<title><?php echo TITLE; ?></title>
<base href="<?php echo ($request_type == 'SSL') ? HTTPS_SERVER . DIR_WS_HTTPS_ADMIN : HTTP_SERVER . DIR_WS_ADMIN; ?>" />
<!--[if IE]><script type="text/javascript" src="<?php echo tep_catalog_href_link('ext/flot/excanvas.min.js', '', 'SSL'); ?>"></script><![endif]-->
<link rel="stylesheet" type="text/css" href="<?php echo tep_catalog_href_link('ext/jquery/ui/redmond/jquery-ui-1.10.4.min.css', '', 'SSL'); ?>">
<script type="text/javascript" src="<?php echo tep_catalog_href_link('ext/jquery/jquery-1.11.1.min.js', '', 'SSL'); ?>"></script>
<script type="text/javascript" src="<?php echo tep_catalog_href_link('ext/jquery/ui/jquery-ui-1.10.4.min.js', '', 'SSL'); ?>"></script>
Posted

The /catalog/ comes from the definition in /includes/configure.php and /admin/includes/configure.php. These files are created by the installer and should normally not be changed. It appears that you may have overwritten one of these files. If you have a good backup from the original install, this would be a good time to use it. Otherwise you have to edit the files by hand, and that is not an easy job.

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

Posted

the only thing that has changed in the meantime in the config files is the setting for SSL. it is set to true and added the https at the lines where needed? everything else is still the same.

Posted

That is still where the problem is occurring. Did you make the SSL changes to the latest version of the config files? Did you upload the two config files to the correct locations?

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

Posted

when my host had installed the SSL certificat I have changed the config files as described here at the forum and uploaded them to the correct locations so I really don't understand why the jquery's files get the 404 error. everything is working fine in my store except for the admin menu and the update cart button which is getting very annoying :(

Posted

the only thing I can think of is that somewhere the links needs to be changed which include catalog and it has to be replaced by webwinkel but how and where do i do that? and is it possible?cause if I look at the sourcefile the links are all starting with https:// so that's not the problem the problem is the catalog folder name

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="robots" content="noindex,nofollow">
<title>UniqueGiftCreations|Op zoek naar een uniek en persoonlijk kado?|</title>
<base href="https://www.uniquegiftcreations.nl/webwinkel/XXXXXXXXXXXX/" />
<!--[if IE]><script type="text/javascript" src="https://www.uniquegiftcreations.nl/catalog/ext/flot/excanvas.min.js"></script><![endif]-->
<link rel="stylesheet" type="text/css" href="https://www.uniquegiftcreations.nl/catalog/ext/jquery/ui/redmond/jquery-ui-1.10.4.min.css">
<script type="text/javascript" src="https://www.uniquegiftcreations.nl/catalog/ext/jquery/jquery-1.11.1.min.js"></script>
<script type="text/javascript" src="https://www.uniquegiftcreations.nl/catalog/ext/jquery/ui/jquery-ui-1.10.4.min.js"></script>

<script type="text/javascript" src="https://www.uniquegiftcreations.nl/catalog/ext/jquery/ui/i18n/jquery.ui.datepicker-nl.js"></script>
<script type="text/javascript">
$.datepicker.setDefaults($.datepicker.regional['nl']);
</script>

<script type="text/javascript" src="https://www.uniquegiftcreations.nl/catalog/ext/flot/jquery.flot.min.js"></script>
<script type="text/javascript" src="https://www.uniquegiftcreations.nl/catalog/ext/flot/jquery.flot.time.min.js"></script>
<link rel="stylesheet" type="text/css" href="includes/stylesheet.css">
<script type="text/javascript" src="includes/general.js"></script>
</head>
<body>

Posted

Post the contents of your admin/includes/configure.php. Do not post the last few lines that start with define('DB_ so you don't reveal your database credentials.

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

Archived

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

×
×
  • Create New...