Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Create an account/ Log in


rubiocesar83

Recommended Posts

Posted

Hi;

 

Sometime ago I deleted the Create and Account /Log in feature because I had problems with the SSL certificates in my web host and because I installed the Google Check Out module....

 

Now the SSL certificate is fine, and I would like to install back the Create and Account /Log in feature, for people to be able to leave reviews of purchased items.

 

How do I do that?

 

I have to re-install the Oscommerce software all over again?

 

If I do that, can I keep all the rest of my settings in my store the same?

 

Thanks,

CR.

Posted
How did you delete them Cesar?

 

Hi:

 

I paid somebody to do so.....if they are not deleted, then they are "neutralized" or hidden?...

 

 

Thanks,

CR.

Posted

Its not possible to know that without being able to view the store.

Look in your file structure to see in you have login.php and create account.php there.

Once what was done has been discovered it should not be a long road to reverse it all.

Could you possibly get in touch with the coder to ask, they may have recored or back ups

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Posted
Its not possible to know that without being able to view the store.

Look in your file structure to see in you have there.

Once what was done has been discovered it should not be a long road to reverse it all.

Could you possibly get in touch with the coder to ask, they may have recored or back ups

 

Hi Fimble;

 

Is been a long time, I don't think that the coder will have any back-ups of my store.

 

The login.php and create account.php files are still there...I've just changed the files attributes to 755...I checked the "execute' tab.

 

But nothing happens...

 

Any suggestions please?

 

Thanks for your help.

 

It seems that you are one of the BIG guys here he? ;)

 

Cesar Rubio.

Posted

Changing permission will not do it, what is your URL there Cesar, maybe able help more by seeing it in action.

 

It seems that you are one of the BIG guys here he?

 

I like to help out where i can.

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Posted

Good News!

I just created an account with you and it all works fine still.

Look in your admin under customers for testing.

 

All that has been done is to remove the links in the header.

The buy now button in your cart has been removed also, bu ti guess that does not matter.

You ok with adding code?

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Posted
Good News!

I just created an account with you and it all works fine still.

Look in your admin under customers for testing.

 

All that has been done is to remove the links in the header.

The buy now button in your cart has been removed also, bu ti guess that does not matter.

You ok with adding code?

 

 

But I don't see where the buttons are for log in or log out....or create an account.

 

Where did you find them?

 

I think I have an old version of Oscommerce, should I upgrade to the latest version instead?

 

When the code is for good, then yes is ok...

 

CR.

Posted

They have been removed, i called the login.php

http://dr-3dcameraco.com/login.php then clicked create account!!

 

Possibly you could do that as you do not have much in the way of style changes there.

Make a back up of the store including the DB so you have something to fall back on, you can also reuse the DB, same for elements of the stylesheet.css plus any images.

 

 

If you wanted your store to stay then the easiest and quickest way that you can use is to add a log in box to one of the colums.

There are loads of then in the contributions section.

If not post your header.php here and we can add the code.

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Posted
They have been removed, i called the login.php

http://dr-3dcameraco.com/login.php then clicked create account!!

 

Possibly you could do that as you do not have much in the way of style changes there.

Make a back up of the store including the DB so you have something to fall back on, you can also reuse the DB, same for elements of the stylesheet.css plus any images.

 

 

If you wanted your store to stay then the easiest and quickest way that you can use is to add a log in box to one of the colums.

There are loads of then in the contributions section.

If not post your header.php here and we can add the code.

 

 

<?php

 

/*

 

$Id: header.php,v 1.42 2003/06/10 18:20:38 hpdl Exp $

 

 

 

osCommerce, Open Source E-Commerce Solutions

 

http://www.oscommerce.com

 

 

 

Copyright © 2003 osCommerce

 

 

 

Released under the GNU General Public License

 

*/

 

 

 

// check if the 'install' directory exists, and warn of its existence

 

if (WARN_INSTALL_EXISTENCE == 'true') {

 

if (file_exists(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/install')) {

 

$messageStack->add('header', WARNING_INSTALL_DIRECTORY_EXISTS, 'warning');

 

}

 

}

 

 

 

// check if the configure.php file is writeable

 

if (WARN_CONFIG_WRITEABLE == 'true') {

 

if ( (file_exists(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php')) && (is_writeable(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php')) ) {

 

$messageStack->add('header', WARNING_CONFIG_FILE_WRITEABLE, 'warning');

 

}

 

}

 

 

 

// check if the session folder is writeable

 

if (WARN_SESSION_DIRECTORY_NOT_WRITEABLE == 'true') {

 

if (STORE_SESSIONS == '') {

 

if (!is_dir(tep_session_save_path())) {

 

$messageStack->add('header', WARNING_SESSION_DIRECTORY_NON_EXISTENT, 'warning');

 

} elseif (!is_writeable(tep_session_save_path())) {

 

$messageStack->add('header', WARNING_SESSION_DIRECTORY_NOT_WRITEABLE, 'warning');

 

}

 

}

 

}

 

 

 

// check session.auto_start is disabled

 

if ( (function_exists('ini_get')) && (WARN_SESSION_AUTO_START == 'true') ) {

 

if (ini_get('session.auto_start') == '1') {

 

$messageStack->add('header', WARNING_SESSION_AUTO_START, 'warning');

 

}

 

}

 

 

 

if ( (WARN_DOWNLOAD_DIRECTORY_NOT_READABLE == 'true') && (DOWNLOAD_ENABLED == 'true') ) {

 

if (!is_dir(DIR_FS_DOWNLOAD)) {

 

$messageStack->add('header', WARNING_DOWNLOAD_DIRECTORY_NON_EXISTENT, 'warning');

 

}

 

}

 

 

 

if ($messageStack->size('header') > 0) {

 

echo $messageStack->output('header');

 

}

 

?>

 

<table border="0" width="100%" cellspacing="0" cellpadding="0">

 

<tr class="header">

 

<td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce') . '</a>'; ?></td>

 

<td align="right" valign="bottom"><?php echo'<a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '">' . tep_image(DIR_WS_IMAGES . 'header_cart.gif', HEADER_TITLE_CART_CONTENTS) . '</a>  <a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_checkout.gif', HEADER_TITLE_CHECKOUT) . '</a>'; ?>  </td>

 

</tr>

 

</table>

 

<table border="0" width="100%" cellspacing="0" cellpadding="1">

 

<tr class="headerNavigation">

 

<td class="headerNavigation">  <?php echo $breadcrumb->trail(' » '); ?></td>

 

<td align="right" class="headerNavigation"><a href="http://www.davidrubio3d.com/" class="headerNavigation">Forum</a>  | <a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a>  </td>

 

</tr>

 

</table>

 

<?php

 

if (isset($HTTP_GET_VARS['error_message']) && tep_not_null($HTTP_GET_VARS['error_message'])) {

 

?>

 

<table border="0" width="100%" cellspacing="0" cellpadding="2">

 

<tr class="headerError">

 

<td class="headerError"><?php echo htmlspecialchars(urldecode($HTTP_GET_VARS['error_message'])); ?></td>

 

</tr>

 

</table>

 

<?php

 

}

 

 

 

if (isset($HTTP_GET_VARS['info_message']) && tep_not_null($HTTP_GET_VARS['info_message'])) {

 

?>

 

<table border="0" width="100%" cellspacing="0" cellpadding="2">

 

<tr class="headerInfo">

 

<td class="headerInfo"><?php echo htmlspecialchars($HTTP_GET_VARS['info_message']); ?></td>

 

</tr>

 

</table>

 

<?php

 

}

 

?>

Posted

You will also need to look in your product_info.php to see if the reviews link has been commented out.

I see it is not showing, oddly enough the Reviews box on the right_colum is still there!

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Posted
You will also need to look in your product_info.php to see if the reviews link has been commented out.

I see it is not showing, oddly enough the Reviews box on the right_colum is still there!

 

 

Almost everything looks ok now...except the "My Account" button:

 

I get this:

 

Warning: main(includes/languages/english/account.php) [function.main]: failed to open stream: No such file or directory in /home/drthrdca/public_html/account.php on line 20

 

Warning: main(includes/languages/english/account.php) [function.main]: failed to open stream: No such file or directory in /home/drthrdca/public_html/account.php on line 20

 

Fatal error: main() [function.require]: Failed opening required 'includes/languages/english/account.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/drthrdca/public_html/account.php on line 20

Posted
It work fine for me, are you logged in when you click it?

 

Yes I am...I will create a NEW account to see what happens.

 

Thanks,

CR.

Posted

Cesar looks like your

includes/languages/english/account.php

file is missing, take a look and confirm this, if it is upload one to the folder and the error will go

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Posted
Cesar looks like your

includes/languages/english/account.php

file is missing, take a look and confirm this, if it is upload one to the folder and the error will go

 

 

This is an old ms 2.2 milestone account.php

 

Place it in your includes / languages / english folder.

If you need the Spanish let me know i have this also

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Posted
Cesar looks like your

includes/languages/english/

file is missing, take a look and confirm this, if it is upload one to the folder and the error will go

 

 

Where do I get the account.php file?

Posted
OK you used the Spanish one!

There is an English one in the above post.

No matter its working :-)

 

Yes...before I saw yours I copied the one from Spanish to see what would happen.

 

Thanks man, you are the best in this code stuff.

 

When ever you need to know something about 3-D stuff let me know please....that's where I shine the most....you shine here my friend!

 

I will contact you in the near future to do a complete overhaul to my store, OK?

 

And of course I will pay you (you don't charge a fortune do you?)

 

Cesar Rubio.

Archived

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

×
×
  • Create New...