Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Admin Payment Module HELP


Orrie

Recommended Posts

My paypal module is enabled but i cant make any changes to the paypal info, or any changes to any other payment module. I cant make any changes to any payment module. i can remove and install modules but cant make any changes within them. I tried to allow permissions to the module/payment folders and files, still no luck. please help me asap.

 

thanks a million!

Link to comment
Share on other sites

My paypal module is enabled but i cant make any changes to the paypal info, or any changes to any other payment module. I cant make any changes to any payment module. i can remove and install modules but cant make any changes within them. I tried to allow permissions to the module/payment folders and files, still no luck. please help me asap.

 

thanks a million!

 

 

Me TOO Can anyone help!

Link to comment
Share on other sites

Me TOO Can anyone help!

 

There's an error in either the admin directory or database information.

 

First try an do a reinstall from install.php "Do not reload database." Just configuration settings.

 

The admin isn't connecting it's attributes with the db.

Link to comment
Share on other sites

There's an error in either the admin directory or database information.

 

First try an do a reinstall from install.php "Do not reload database." Just configuration settings.

 

The admin isn't connecting it's attributes with the db.

 

I have pulled my hair out with this for 3 days.... grrrrrrrrrrrrrrrr!!

 

Can somebody please help in detail as new users cannot understand the jargon. If suggesting reinstallation of install.php then can you please tell how to do this without detriment to all of the hard word modifying the site to get it to its current point.

 

Why do the Paypal & Shipping modules seem to cause problems for so long ( I have read threads back to 2004)?

 

Many thanks

Darren

Link to comment
Share on other sites

Do not reinstall before you check permissions in your admin.

 

in your browser access admin.

 

navagate to Tools and choose File Manager.

 

Look at your payment modules and see what permissions are there?

 

This is what you should see for both of them.

drwxrwxrwx

 

Also state any contribs you have used, Templates?

Link to comment
Share on other sites

Do not reinstall before you check permissions in your admin.

 

in your browser access admin.

 

navagate to Tools and choose File Manager.

 

Look at your payment modules and see what permissions are there?

 

This is what you should see for both of them.

drwxrwxrwx

 

Also state any contribs you have used, Templates?

 

 

Hi there. I tried editing the configure.php to 'store sessions' - 'myslq' however this didn't work.

 

The configure has it's permissions set to 444 (chmod?) . This gets rids of an error message at the top of the site which says 'error unable to write config files...'

 

No templates used...?

Link to comment
Share on other sites

If you don't have an error at the top of the page, That is realy a warning and I wish oscommerce would call it a warning, (must be something with the translation) then your permissions are correct.

 

Now, what sql problems are you having?

 

When posting it is helpful if you list as many details as possable so you will get the help needed.

Link to comment
Share on other sites

It's really revolving around payment, so far I have sucessfully installed the protx-form module but the problem lies when I try to update the payment modules, including the existing paypal.

 

I can install the modules fine from the admin section but when I try to update the details, they are reverting to the default.

 

I have been told it could be that the db isn't storing the session and i tried changing my configure.php file

FROM:

define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'

 

TO:

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

 

However this doesn't seem to have made a difference.

 

I hope this is enough information,

 

Kind Regards

 

Toby

Link to comment
Share on other sites

Do you know how to check read/write permissions for files and folders on your web site?

 

Go to Admin, Tools, File Mangaer.

 

Make sure your admin is read and write (drwxrwxrwx) with the exception of the includes configure.php which will be read only.

 

This may be a permissions issue, so see if this helps.

Link to comment
Share on other sites

Do you know how to check read/write permissions for files and folders on your web site?

 

Go to Admin, Tools, File Mangaer.

 

Make sure your admin is read and write (drwxrwxrwx) with the exception of the includes configure.php which will be read only.

 

This may be a permissions issue, so see if this helps.

 

I looked in the file manager and the majority of the files and folder(s) contained a lot of ( - ) dashes.

 

For Example:

 

The admin/includes/configure.php is : -r-------

 

The admin folder is : drwxr-xr-x

 

I hope this helps?

 

Kind regards.

Link to comment
Share on other sites

...I cant make any changes to any payment module. i can remove and install modules but cant make any changes within them...

If your version of osc is the 060817 update release, then there is a known 'bug' in the compatibility.php file. Read the 060817 update released thread under the Nesw and announcement section ( just the first few pages), theres a fix for it.

 

Ken

commercial support - unProtected channel, not to be confused with the forum with same name - open to everyone who need some professional help: either PM/email me, or go to my website (URL can be found in my profile).

over 20 years of computer programming experience.

Link to comment
Share on other sites

If your version of osc is the 060817 update release, then there is a known 'bug' in the compatibility.php file. Read the 060817 update released thread under the Nesw and announcement section ( just the first few pages), theres a fix for it.

 

Ken

Hey

 

I have thoroughly read an updated to 060817 and I am still having problems. No changes are saved to my payment modules all changes revert to default!

 

Can you anyone help?

 

Waiting to "Go Live"

Link to comment
Share on other sites

In the catalog/admin/modules.php file around line 42 I had to add this line to reset the array index.

 

reset($HTTP_POST_VARS['configuration']);

 

I dont know if this os OK or messes up some other part of the code (Any expert out there, please advise), but it works for me.

 

 

This is the block of code that I placed the above code snippet into.

 

 

 

if (tep_not_null($action)) {

switch ($action) {

case 'save':

reset($HTTP_POST_VARS['configuration']);

while (list($key, $value) = each($HTTP_POST_VARS['configuration'])) {

tep_db_query("update " . TABLE_CONFIGURATION . " set configuration_value = '" . $value . "' where configuration_key = '" . $key . "'");

}

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...