Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fresh instal, no images


mtyimport

Recommended Posts

Posted

Dear community,

 

First of all thanks in advance!

 

So instaled a fresh,clean version.

 

see here

 

http://mtyimport.funpic.org/catalog/

 

But my images, are not showing.. i know its a totaly standard layout and instal but if it doesnt show now.

it wont with my products..

 

 

Sorry for the maybe noob quest, but not realy into coding and html..will learn do

 

also i looked the search button, found alot of things... but to chinees for me xD

 

Thx all!

Posted

@@mtyimport

 

Its more than likely your path in the configure.php file. Your abnormal URL is more than likely causing the issue

 

 

 

 

Chris

Posted

I get a 500 (Internal Server) error trying to display one of your images. By any chance do you have "Hotlink protection" implemented? If so, make sure that your site domain name is whitelisted in the .htaccess code that implements hotlink protection.

Posted

Well, yesterday it worked fine.. instaled a new template and it was a mess..

 

So i delted all, and started all over again...

 

So dont know what i'm doing wrong.

 

here is my info on configure.php

 

<?php

define('HTTP_SERVER', 'http://mtyimport.mt.funpic.org');

define('HTTPS_SERVER', 'http://mtyimport.mt.funpic.org');

define('ENABLE_SSL', false);

define('HTTP_COOKIE_DOMAIN', '');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', '/catalog/');

define('HTTPS_COOKIE_PATH', '/catalog/');

define('DIR_WS_HTTP_CATALOG', '/catalog/');

define('DIR_WS_HTTPS_CATALOG', '/catalog/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', '/usr/export/www/hosting/mtyimport/catalog/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

define('DB_SERVER', 'mtyimport.mt.funpicsql.org');

define('DB_SERVER_USERNAME', '');

define('DB_SERVER_PASSWORD', '');

define('DB_DATABASE', '');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', 'mysql');

define('CFG_TIME_ZONE', 'Europe/Brussels');

?>

Posted

@@mtyimport

 

This can't be correct if your using a sub domain

 

/usr/export/www/hosting/mtyimport/catalog/

 

 

 

Chris

Posted

hmm

@@mtyimport

 

This can't be correct if your using a sub domain

 

/usr/export/www/hosting/mtyimport/catalog/

 

 

 

Chris

 

thx chris tried to change it to

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', 'http://mtyimport.funpic.org/catalog/');

 

but it still not working, you recomend a new instal and put that right away?

 

Mty

Posted

I get a 500 (Internal Server) error trying to display one of your images. By any chance do you have "Hotlink protection" implemented? If so, make sure that your site domain name is whitelisted in the .htaccess code that implements hotlink protection.

 

in what htacces code? the one with my images?

 

# $Id$

#

# This is used to restrict access to this folder to anything other

# than images

 

# Prevents any script files from being accessed from the images folder

<FilesMatch "\.(php([0-9]|s)?|s?p?html|cgi|pl|exe)$">

Order Deny,Allow

Deny from all

</FilesMatch>

 

Options

 

thx mty

Posted

I just tried again and your sample store images all loaded. You need to work on making the header taller so that your logo completely displays.

 

in what htacces code? the one with my images?

No, it would normally be in your root .htaccess (/.htaccess), and be code to check HTTP_HOST against a list of whitelisted domains, and then check if the file extension is one of the graphics files. If you're not on the whitelist, and it's a listed extension, your request is zapped.

 

define('DIR_FS_CATALOG', 'http://mtyimport.funpic.org/catalog/');

No, you need to understand the difference between a URL and a directory path. Anything starting with "DIR_FS_" is going to have a path something like /usr/export/www/hosting/mtyimport/catalog/.

Posted

@@MrPhil, well looked it all uo

 

# $Id$

#

# This is used with Apache WebServers

#

# For this to work, you must include the parameter 'Options' to

# the AllowOverride configuration

#

# Example:

#

# <Directory "/usr/local/apache/htdocs">

# AllowOverride Options

# </Directory>

#

# 'All' with also work. (This configuration is in the

# apache/conf/httpd.conf file)

 

# The following makes adjustments to the SSL protocol for Internet

# Explorer browsers

 

#<IfModule mod_setenvif.c>

# <IfDefine SSL>

# SetEnvIf User-Agent ".*MSIE.*" \

# nokeepalive ssl-unclean-shutdown \

# downgrade-1.0 force-response-1.0

# </IfDefine>

#</IfModule>

 

# If Search Engine Friendly URLs do not work, try enabling the

# following Apache configuration parameter

 

# AcceptPathInfo On

 

# Fix certain PHP values

# (commented out by default to prevent errors occuring on certain

# servers)

 

# php_value session.use_trans_sid 0

# php_value register_globals 1

 

This is what there is in my htacces, root file

 

 

 

and changed the config.php again to

 

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', '/usr/export/www/hosting/mtyimport/catalog/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

 

The only thing what is missing are the catalog thumbs, even if i create a new catagory with new pic.

its fails to load,

 

http://mtyimport.mt.funpic.org/catalog/index.php?cPath=1

 

http://mtyimport.mt.funpic.org/catalog/imagesSparcoHarnessesFitted1.jpg 499 (Not Found)

 

There must be an / after images? is that the devil?

 

 

 

 

 

Thx again for all the working tips!

Posted

@@MrPhil

 

Want to delete prev message but cant find it.. so

its all ok, in my index there was an / missing

 

 

 

The only thing in my console that is still gving me stress..

 

GET
500 (Internal Server Error)

GET
500 (Internal Server Error)

GET
500 (Internal Server Error)

GET
500 (Internal Server Error)

GET
500 (Internal Server Error)

GET
500 (Internal Server Error)
  • Uncaught ReferenceError: $ is not defined

 

 

 

This it says for the first one

 

<script
type
=
"text/javascript"
src
=
"ext/jquery/jquery-1.4.2.min.js"
>
</script
>

 

 

GET
500 (Internal Server Error)

 

GET
500 (Internal Server Error)

 

GET
500 (Internal Server Error)

 

GET
500 (Internal Server Error)

 

GET
500 (Internal Server Error)
Posted

I'm getting a 500 error on each of these .css and .js files. Do they in fact exist, and in the place that osC is calling for them? Do you own these files, and are the permissions 644? If some idiot told you to chmod them to 777, your host server is blocking access to them for security reasons.

 

Since you apparently paid someone to set this up for you, you would be within your rights to toss it back over the wall to them and say, "make it work!"

Posted

Hi,

 

try renaming your .htaccess in the catalog/ext/ directory to .htaccess_old

 

and see what happens

 

Regards

Joli

To improve is to change; to be perfect is to change often.

 

Posted

No didnt pay someone,

 

apperently the files are not on the server, so that cleared out... i think

 

Files are 644 and directs 755

 

htacces_old, does nothing

Posted

No didnt pay someone,

I see

Powered by osCommerce

 

Created by O.F.Y. Validated by <link to users.skynet.be> shopping cart development

You didn't buy a template or something? The colors are not standard osC. It looks like it was based on osC 2.3, but using a different grid system. My question is, if someone sold this to you, are you or they responsible for making it work?

 

You don't want to squash your logo by forcing it into too-short a div. Either in the CSS, increase the height of the header div to allow space for the logo, or use an image editor to scale down the logo to where it fits in the alloted space.

 

apperently the files are not on the server, so that cleared out... i think

I'm not sure what you mean, but if you're only missing a couple of jQuery libraries now, you may still need to go and obtain them, per installation instructions. However, first check if they got put in the wrong place and only need to be moved, or they are unreadable permissions or have corrupted filenames.

Posted

@@MrPhil @@joli1811

 

You guys are the bomb!

realy made my day abit better :)

 

No found it here, for free..nothing to much. but far good for me

 

I gonna clear the missing files tomorw out, but for now i'm see everthing double..

 

One last thing i can't find is, how to remove the

 

Copyright © 2013 Mty Import

Powered by

osCommerce

Created by O.F.Y. serial_16.gifshopping cart development

crap...

 

Thx all.. again

Archived

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

×
×
  • Create New...