Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

after pressing cart button i get and Internal Server Error


Guest

Recommended Posts

Hello,

 

I had a look at the webhost's control panel

for secure server and only had this bit of

info

 

++++++++

Secure Server Settings

Your Secure and Non-Secure webpages are stored in the same directory. They are stored in:

 

/home/affili43/affili43-www

 

To access a secure webpage, you would the following Secure URL:

 

https://secure4.mysecureorder.net/affiliatesexcel/

 

Using formmail.pl through secure server

 

If you are calling the formmail through the secure server, your action line and other code will look like the following:

 

 

<FORM METHOD=POST ACTION=

"https://secure4.mysecureorder.net/cgi-sys/formmail.pl">

<input type=hidden name="recipient" value="[email protected]">

<input type=hidden name="subject" value="Order">

<input type=hidden name="return_link_URL" value=

"https://secure4.mysecureorder.net/affiliatesexcel/yourpage.html">

 

The last line allow a link back to your main page - thus they get a report of what they ordered and a link.

 

It's important that you call your order page through a secure URL (HTTPS) in order for it to work properly.

 

+++++++++++++

 

Do I need to reinstall removing the checkbox forSSl

which I did check . But this won't solve the problem

as I need to work in secure mode.

Link to comment
Share on other sites

Try this.

 

In:

catalog/includes/configure.php find and change to:

define('HTTPS_SERVER', 'https://secure4.mysecureorder.net/affiliatesexcel');

and in

admin/includes/configure.php find and change to:

  define('HTTPS_CATALOG_SERVER', 'https://secure4.mysecureorder.net/affiliatesexcel');

Where it has an entry to enter an https URL use this URL.

 

https://secure4.mysecureorder.net/affiliatesexcel

 

The reason you can't get the pages to come up is your server is trying to run them through SSL but, OSC doesn't know where to go.

 

You also need to delete your install dir (once you are happy with your install and chmod 444 both configure.php most good FTP programs has the abilty to do this. I also did notice that the catalog does work just fine too Just need to get the SSL thing fixed. Ok, now it isn't, did you change something?

Steve

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

Link to comment
Share on other sites

Hi Steve,

 

Many thanks for your solution

 

I live in the UK and wake up earlier I suppose.

I saw a pointer in Linda's replies earlier and did exactly

what you have suggested.

 

It is up and running SSL now. I have added a few more products,

I had some problems to get the images showing up

ffrom another thread someone suggested to set the image width

in the admin menu to 0, that did solve the probllem.

 

currently I am trying to get a gif in the header and have

added this to the css file ass suggested by the WIKI help

document , but didn't work

 

TD.infoBoxHeading {

background-image: url('http://www.affiliatesexcel.com/catalog/images/forgevalley1.gif');

 

background-repeat: no-repeat;

 

Could you please take a look and let me know what to do ?

 

I haven't set any height as i don't know the syntax.

I have done some programming in the past but is quite new

to php.

 

I am new to osc also andlooking at the whole thing I realise that

you guys have done a great job for something which really

needs OOP .

 

Many thanks again

 

Sreedharan

Link to comment
Share on other sites

TD.infoBoxHeading {

background-image: url('http://www.affiliatesexcel.com/catalog/images/forgevalley1.gif');

 

background-repeat: no-repeat;

 

Could you please take a look and let me know what to do ?  

 

Could you explain in a little more detail what you want. The above CSS script is to add images to the header of the boxes. Or is this what your tring to do?

Steve

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

Link to comment
Share on other sites

Hi Steve,

 

Many thanks, i mistook it for modifying the main header of the page.

 

I am trying to customise my cart (which has started

to come together please see http://forgevalley.comand

click on the cart gif) by removing the OSc logo and

replacing with another one .(forgevalley1.gig which I have saved to the

images directory)

 

I guess Imust inclde the double brackets which I had left out

while editing the CSS file.

 

While you are there could you please let me know

if I can insert the entire table which is in my bannerframe

instead of a GIF. This is for a stand alone version of the

cart which otheres can link to and promote.

 

Below is the table

 

<table border="0" cellpadding="0" cellspacing="0" width="600"

bordercolordark="#FFFFFF">

<tr>

<td rowspan="2"> </td>

<th valign="top" colspan="8" width="450"><img

src="forgevalley1.gif" width="470" height="53"></th>

<td align="center" rowspan="2" colspan="3"

bgcolor="#FFFFFF"><p align="center"><a

href="http://forgevalley.com/SynergyCD.htm"><img

src="arms.jpg" border="0" width="52" height="62"></a></p>

</td>

</tr>

<tr>

<th align="left" valign="top" width="58"><a

href="frmain.htm"><font color="#FFFF00" size="2"

face="Arial Narrow"><strong><b>Home</b></strong></font></a></th>

<th align="left" valign="top" width="56"><a

href="SynergyCD.htm" style="color: rgb(255,0,0)"><font

color="#FFFF00" size="2" face="Arial Narrow"><strong><b>Synergy</b></strong></font></a><font

color="#FFFF00" size="2" face="Arial Narrow"><strong><b> </b></strong></font></th>

<th align="left" valign="top" width="56"><a

href="http://www.mylexxus.com/uk"><font color="#FFFF00"

size="2" face="Arial Narrow"><strong><b>Lexxus</b></strong></font></a></th>

<th align="left" valign="top" width="56"><a

href="http://www.goldenvision.info/sp/"><font

color="#FFFF00" size="2" face="Arial Narrow"><strong><b>Immuno</b></strong></font></a></th>

<th align="left" valign="top" width="56"><a

href="http://www.mylegacyforlife.net/forgevalley"><font

color="#FFFF00" size="2" face="Arial Narrow"><strong><b>Legacy</b></strong></font></a></th>

<th align="left" valign="top" width="56"><a

href="http://www.heartbar.net/rep/spillai"><font

color="#FFFF00" size="2" face="Arial Narrow"><strong><b>Heartbar</b></strong></font></a><font

color="#FFFF00" size="2" face="Arial Narrow"><strong><b>  </b></strong></font></th>

<th align="left" valign="top" width="56"><a

href="freepromotionOLD.htm"><font color="#FFFF00"

size="2" face="Arial Narrow"><strong><b>E Biz </b></strong></font></a></th>

<th align="left" valign="top" width="56"><a

href="forgvalzine.htm"><font color="#FFFF00" size="2"

face="Arial Narrow"><strong><b>E Zine</b></strong></font></a></th>

</tr>

<tr>

<td> </td>

<td valign="top" colspan="8" width="450"><a

href="http://www.mypaying.com?id=372"><img

src="http://www.mypaying.com/images/banners/banner8.gif"

border="1" width="460" height="60"></a></td>

<td align="center" bgcolor="#FFFFFF"><a href="http://www.affiliatesexcel.com/catalog/default.php"><img

src="cart.gif" border="0" width="38" height="24"></a></td>

<td align="right" bgcolor="#FFFFFF"><a href="frmain.htm"><img

src="1385home.gif" align="left" border="0" hspace="0"

width="37" height="37"></a></td>

</tr>

</table>

Link to comment
Share on other sites

Hi

 

I'm back again (post at the top of this thread) after turning SSL off

 

define('ENABLE_SSL', false);

 

everthing worked fine. I then set it back to 'true' and contacted my ISP about this who suggested that

There was a .htaccess file with a SetenvIf statement, which isn't

allowed.  We already have that in the main configuration file.  I've

commented that out for you in the file.

 

after this i still had an error which had changed to

 

Warning: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /amd/4/fs/home/c/c/cctvcity/public_html/catalog/includes/functions/database.php on line 19



Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /amd/4/fs/home/c/c/cctvcity/public_html/catalog/includes/functions/database.php on line 19

Unable to connect to database server!

 

they are now looking at what the problem might be. Also like Valley i am having problems with some .gif's not showing. I will be looking for other post regarding this now.

 

Just thought you might be interested in what I am doing to solve my earlier problem.

 

Thanks

 

Deej

Link to comment
Share on other sites

Valley,

 

I started to work on your question, but got busy and havn't had a chance to get back to it. Do you still need a suggestion?

 

Also, I noticed when I visited your web page and clicked the cart button. The cart opens into the lower right frame. I don't think this is good. It will really turn surfers off. I don't even like frames, but thats my opinion. You might want to change the target of the cart to open into a new page.

 

If you still need help let me know.

Steve

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

Link to comment
Share on other sites

Hi Deejay,

 

Hope you have solved your SSL problem

 

Asi couldn't change the colour of the corner left and right GIFS

for the info boxes in the CSS file , I had edited the GIFs to the

colour required.(as stated in the guide)

This solved the problem except when you get in to SSL

mode at checkout, the boxes corners show up in original colour.

 

This means at least one set of the GIFs stay in secure area

 

Do you know where and how to access those ?

Link to comment
Share on other sites

Reply to Mattice

 

Many thanks for the suggestion about

cart link opening up in a new page

I will modify that.

 

I have error messages trying to set up specials

and reviews in admin

 

Fatal error: Call to a member function on a non-object in /home/affili43/affili43-www/catalog/admin/specials.php on line 17

 

 

Any ideas ?

 

Cheers.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...