Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How Do I ...? All the basic install questions regularly asked...


Guest

Recommended Posts

ADMINISTRATION TOOL url link broken. After completing step 4 of the installation process, the url link for the CATALOG button works, but not the url link for the ADMINISTRATION TOOL. How can I repair this? It is trying to take me to /admin/index.php, correct?

Link to comment
Share on other sites

  • 3 weeks later...
  • Replies 685
  • Created
  • Last Reply

Warning: session_save_path(): open_basedir restriction in effect. File(/home/u751193545/public_html/oscommerce/includes/work/) is not within the allowed path(s): (/home/u399339783:/usr/lib/php:/tmp) in /home/u399339783/public_html/publichtml/includes/functions/sessions.php on line 169

 

i cant rember the fix

Link to comment
Share on other sites

  • 2 weeks later...

I'm trying to set up a test server. I successfully copied the files into a test directory under the root directory and it's working properly, but I want to change the images in the design template only in the test directory. Where & how do I change the location the computer looks at to pull images for the main design in the test directory? (e.g. diamed.ca pulls from /images/ directory; I need diamed.ca/test_site/ to pull images from /test_site/images/ directory - how do I make this switch (what code is changed in which file(s))?

Link to comment
Share on other sites

what code is changed in which file(s)?

 

The 2 configuration files control it.

 

test_site/includes/configure.php

test_site/admin/includes/configure.php

 

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 ======>>>>>.

Link to comment
Share on other sites

Unfortunately when I change the directory in those two files to /test_site/ (i.e. add /test_site/ to the right parts of those files) I get the following errors:

 

Warning: require(test_site/includes/test_site/functions//test_site/compatibility.php) [function.require]: failed to open stream: No such file or directory in /home/diamed/public_html/test_site/includes/application_top.php on line 57

 

Fatal error: require() [function.require]: Failed opening required 'test_site/includes/test_site/functions//test_site/compatibility.php' (include_path='.:/usr/local/lib/php') in /home/diamed/public_html/test_site/includes/application_top.php on line 57

 

 

When I tried to reverse the change, the errors stuck. Why does OSCommerce make these automatic changes and leave zero trace of what has been changed or how to reverse it? How do I fix it back to what it was and make only the images display from diamed.ca/test_site/images/ directory and leave everything else as it was originally copied into the test_site directory?

Link to comment
Share on other sites

@@[email protected] looks like you still have issues with your config files.

 

Take a look at this very details thread on how yours should look; http://www.oscommerce.com/forums/topic/193738-a-guide-to-the-configurephp-files/

 

When I tried to reverse the change, the errors stuck. Why does OSCommerce make these automatic changes and leave zero trace of what has been changed or how to reverse it? How do I fix it back to what it was and make only the images display from diamed.ca/test_site/images/ directory and leave everything else as it was originally copied into the test_site directory?

 

Keep in mind I'm not a programmer, just a shop owner who has made and learned from a bunch of mistakes, so you can take my advise with a grain of salt if you wish;

 

1) backup .... backup and backup... is number 1. you can always upload a backup when you get in trouble.

2) the config files should have file permissions preventing you from editing them via FTP. You typically have to edit from your control panel file manager

3) oscommerce is leaving a trace... that is the error you see....

 

'test_site/includes/test_site/functions//test_site/compatibility

 

As you can see "test_site" is duplicated... Again, I'm not an expert like some on this forum. But the config file set all paths to the correct files... and so when your path is screwed up... it means you config files are probably screwed up.

 

Hope I steered you in the right direction... if not hopefully someone else jumps in to correct me.

Link to comment
Share on other sites

Alison

 

When you change the config files osc just uses what you have put in there, it does not silently change the values just to annoy you.

 

test_site/includes/test_site/functions//test_site/compatibility.php

 

Scott has identified that somehow extra paths are being inerted int othe path for the file compatibility.php

 

It should read

 

test_site/functions/compatibility.php

 

If you would care to post your config file excluding the db section maybe someone will spot the error.

 

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 ======>>>>>.

Link to comment
Share on other sites

  • 1 month later...

@@questmarketinggroup

 

First you need a host or a local apache enviroment. Do you have one?

:blink:
osCommerce based shop owner with minimal design and focused on background works. When the less is more.
Email managment with tracking pixel, package managment for shipping, stock management, warehouse managment with bar code reader, parcel shops management on 3000 pickup points without local store.

Link to comment
Share on other sites

Please send me the step by step guidance.  What is "a local host or an apache environment"?  However, I need complete set up.  Don't know which one to click on in the zip file to run the system!!  Please send me email at [email protected] as I won't stay for long on this forum online.

Link to comment
Share on other sites

zip file contains php and web server compatible files. There are no executable (exe) file so you cant run it directly on operation system.

 

which operation system do you have?

:blink:
osCommerce based shop owner with minimal design and focused on background works. When the less is more.
Email managment with tracking pixel, package managment for shipping, stock management, warehouse managment with bar code reader, parcel shops management on 3000 pickup points without local store.

Link to comment
Share on other sites

  • 1 month later...

My problem is setting up PayPal (any module) to work faultlessly with osC 2.3.4.

 

If I set up PayPal Standard it all seems fine until reaching the point where PayPal returns to the website.   Then a warning box about passing data back to non secure web pages pops up.   It's ok if that is ignored and the client clicks on 'Submit' but many people will heed the warning and close the page!

 

If I set a shared SSL https address in configure.php and enable SSL (set to true), clients cannot login and new clients cannot register.

 

Alternatively, if I try PayPal Express, I set 'Client ID' and 'secret' to the keys supplied in the PayPal Sandbox setup but I get an error saying that the 'Client ID' cannot be identified when I try to login with Paypal!  The keys have been cut and pasted to avoid entry errors!

 

I'm tearing my hair out having tried every permutation I can think of for at least two weeks now.  Can somebody PLEASE tell me how to set up any connection to PayPal which works when using a shared SSL?

 

I'll be eternally grateful.   TIA,   Ken

Link to comment
Share on other sites

1. No Paypal module will work correctly without SSL. It's a requirement.

 

2. Your SSL settings are incorrect. Look at the values for HTTPS_COOKIE_DOMAIN and HTTPS_COOKIE_PATH in your includes/configure.php. These must be correct for the shared SSL server.

 

As a better alternative, you can buy your own SSL cert for less than $10. Your customers then see your store's URL in their address bar instead of your host's. It's much better for business.

 

3. Try using the values for your real Paypal account in the Paypal Express module. If that works, you're using the wrong settings for the sandbox account. Make sure that you set up a Merchant sandbox account and not a regular account.

 

Regards

Jim

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

Link to comment
Share on other sites

Think your wrong there Jim ??

 

SSL is not a requirement for paypal

 

Verify SSL Certificate
Verify gateway server SSL certificate on connection?

 

is referring to the paypal website  not the store !!

 

Regards

John

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

 

Link to comment
Share on other sites

Ok may be wrong !!!  

 

But never seen myself this error so going to test a few sandbox accounts on different servers 2.3.4 with latest modules

 

but took my info from here

 

http://www.oscommerce.com/forums/topic/397025-new-certified-paypal-payment-modules/page-2

 

post #25  --> #27

 

seems to say SSL is not  needed with standard settings I never seen a SSL error myself   but it is only a month or two with the newer modules  so maybe missed something

 

so stand to be corrected on this.

 

Done this month a few tests on sandbox not live and guess I never really returned to the shop as customer just took as far as checkout to see that the money was ok  and the different options /shipping etc was carried over so

 

Maybe you are right :blink:  S****

 

regards

John

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

 

Link to comment
Share on other sites

Just to clarify: The warning message appears when you return to the store after paying on the Paypal site. Paypal always runs SSL, and if your store does not, you will receive a warning message to the effect that the linked page is not secure. Or the link will just not work, as some browsers (Firefox, Chrome) now block all links to an insecure page from a secure page.

 

Regards

Jim

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

Link to comment
Share on other sites

Ok good to know never seen before  another

 

"Call the ball, Maverick". 

 

(w00t)

 

so it is the worst that can happen as regards customer experience

 

simple SSL is a must then  for even small stores using Paypal  ??

 

Regards

John

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

 

Link to comment
Share on other sites

Back later sandbox UK / log in with paypal / and normal account

 

Seems to be mixed up  links  at the minute

 

Paypal managed to change my main account password with a Sandbox  account and now they seem to offer me the log in with paypal   the new app

 

when I try a sandbox account ??

 

To crazy  for me tonight  going to ring up later !!!

 

Regards

John

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

 

Link to comment
Share on other sites

OK folks; I am really appreciative of the efforts being made to help sort this out.   As you'll all appreciate it's absolutely vital to get it working in order to have a viable e-store.    For the small business in question, PayPal is the obly viable payment system so I have to get it sorted somehow.

 

I'll be happy to move to a unique SSL once I'm convinced the system can be set up.   Is there any reason why it can't be set up using a shared SSL?

Link to comment
Share on other sites

1. No Paypal module will work correctly without SSL. It's a requirement.

 

2. Your SSL settings are incorrect. Look at the values for HTTPS_COOKIE_DOMAIN and HTTPS_COOKIE_PATH in your includes/configure.php. These must be correct for the shared SSL server.

 

As a better alternative, you can buy your own SSL cert for less than $10. Your customers then see your store's URL in their address bar instead of your host's. It's much better for business.

 

3. Try using the values for your real Paypal account in the Paypal Express module. If that works, you're using the wrong settings for the sandbox account. Make sure that you set up a Merchant sandbox account and not a regular account.

 

Regards

Jim

 

Do I need to set SSL addresses in the admin/includes/configure.php as well as the catalog/includes/configure.php?

 

This is the current relevant section of catalog/includes/configure.php:-

  define('HTTP_SERVER', 'http://www.userdomain.co.uk');
  define('HTTPS_SERVER', 'https://xi.securesslhost.net/~userid');
  define('ENABLE_SSL', true);
  define('HTTP_COOKIE_DOMAIN', 'userdomain.co.uk');
  define('HTTPS_COOKIE_DOMAIN', 'xi.securesslhost.net');
  define('HTTP_COOKIE_PATH', '/catalog/');
  define('HTTPS_COOKIE_PATH', '/catalog/');
  define('DIR_WS_HTTP_CATALOG', '/catalog/');
  define('DIR_WS_HTTPS_CATALOG', '/catalog/');

Should this be ok or am I missing something?

Ken

Link to comment
Share on other sites

@@oldcelt You can use paypal without an ssl, or with a shared one in your case. The problem you are having is most likely one, or more, of the following:

 

- you don't have the configure file in the shop side set up correctly. The admin configure file won't affect this in any way though it should use ssl too.

 

- the auto-return on paypal is returning you to your shops url, not the shared cert url. You have to change that in the paypal account settings.

 

- there is something on the page that is not secure. Can you go through an order (enable Check/Money Order) without getting a non-secure warning? If not, that needs to be fixed first.

 

You can turn off ssl in the configure file and then try an order to verify it works at all.  This thread may help setting up your configure file though I'm not sure how much it covers a shared ssl. I posted instructions for sitting up a shared ssl in some thread but I've no idea what the link is. A google search will probably find it though.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...