Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Delete Customer Account Contribution


soregonmale

Recommended Posts

Hello...

 

Just downloaded and installed this contribution. Followed it step by step. Very simple install. Anyway... when I go to delete a fake account, I click the delete button, I get this error:

 

Not Found

The requested URL /FILENAME_ACCOUNT_DELETE_PROCESS was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

 

I went through 3 times to make sure I put the files exactly where the instructions said to. Anyone have this problem before?

 

I did look at the file (account_delete.php) that was included in this contribution, and on line 167 it says this:

<td align="right"><?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT_DELETE_PROCESS, '', 'SSL') . '">' . tep_image_submit('button_delete.gif', IMAGE_BUTTON_DELETE) . '</a>'; ?></td>

 

Not sure what file it's referring to, but I couldn't find anything.

 

The only changes I made, was to some of the "statements" wording, never touched the coding part, as I basically know nothing about PHP.

 

Thanks!!

Link to comment
Share on other sites

I think someone goofed in the contribution. The post after this one on the contribution says it is not a bug, but obviously it is :)...

 

 

Found a small bug in catalog/account_delete.php:

 

Find:

<td align="right"><?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT_DELETE_PROCESS, '', 'SSL') . '">' . tep_image_submit('button_delete.gif', IMAGE_BUTTON_DELETE) . '</a>'; ?></td>

 

Replace with:

 

<td align="right"><?php echo tep_image_submit('button_delete.gif', IMAGE_BUTTON_DELETE); ?></td>

 

The download zip file contains the above info.

Link to comment
Share on other sites

Hey vasttech... thanks!!! I saw that, but one person said it was an error, and one said it wasn't, so I was confused. Thanks for getting back to me. It appears to work with the fix!!

 

Thanks again!!!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...