Store Issues {Help Please}

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
3/10/2012 6:28:39 PM
Gravatar
Total Posts 15

Store Issues {Help Please}

Hey Joe,

I had the store completely setup... and then wondered how to get people to pay. Well I started searching through the documentation and found how to configure the the payment methods. As of now I only have them in the web.config file, however, I plan on moving them to the user.config file for updating purpose only. Anyways.. i configured the google sandbox and the google checkout using the directions. My website has a AES_128Bit_CBC with Shai1 for message auth and RSA as the key exchange, so the site should mee the ssl requirement. 

Anyways, So once configured, I go to the store ( I test in Sandbox and regular) and when i click pay by google checkout, It loads and error page of some sort. Doesnt really specify the error just says its been logged. When I go the the Admin panel and check the Errors, I get somethign like this: 

"2012-03-09 23:42:35,076 INFO 2012-03-09 23:42:35,107 ERROR 2012-03-09 23:44:50,221 INFO 2012-03-09 23:45:03,971 INFO 2012-"

Any suggestions for both the google checkout error and the error not really specifying in thelog?

 

Next, when I got an error with google, I tried creating the paypal checkout. I did both sandbox experience and regular experience. When doing sandbox, I could get it to reply back to the website using the PDT or the notification thing. I double checked the link and I have it correctly addressed to the right folder. 

So when I make the payment and click back to website, the payment transaction is never complete on teh website, however it shows complete on my paypal account. Any Suggestions here?

 

Thanks in advance!!!

Tyler

3/10/2012 6:31:26 PM
Gravatar
Total Posts 15

Re: Store Issues {Help Please}

System Information
mojoPortal Version 2.3.8.1 MSSQL
Operating System Microsoft Windows NT 6.1.7601 Service Pack 1
ASP.NET Info Running in Partial Trust

 

This is a shared hosting through 1 and 1

3/11/2012 8:34:56 AM
Gravatar
Total Posts 18439

Re: Store Issues {Help Please}

Hi,

It looks like the errors are being truncated so you can't see the detail in the log, not sure what is causing that. You might try enabling database logging instead of the default text file logging and see if that provides any error detail. See also Basic Troubleshooting, it is possible to disable the friendly error page temprarily to make it show the actual error details.

Note that the ones that say INFO are not errors, only the ones that say ERROR. But without the actual error details its not possible to know what is happening.

Historically 1and1 has never been known to me to be any good for shared hosting though they are excellent for dedicated servers. You left out the .NET version information when providing your system information which seems a little fishy to me since I know the problem with 1and1 shared hosting in the past was that they never had the latest .NET frameworks available.

Hope that helps,

Joe

3/11/2012 9:17:02 AM
Gravatar
Total Posts 15

Re: Store Issues {Help Please}

I'm pretty sure its the .net 3.5 package. I've called and called about the trying to move to a 4.0 framework package. I dont know of they did. anyways I've made sure i d/l the 3.5 package from the source code and upload to my webserver. Btw I totally agree 1and1 is not the best on shared. Anyways, when turning off the customErrors, i basically get an error that says hey go turn them back on. I'll try the db logging. This one might actually work and record the error. I'll let you know. wont take long to patch that up. Hopefully, it will show something. I'm also gonna try the 4.0 package on this and i also might try a fresh install of 3.5 install.

 

Tyler

3/11/2012 9:46:01 AM
Gravatar
Total Posts 15

Re: Store Issues {Help Please}

Hey Joe,

So I think something more is going on with the system itself. Ive patched up the log4net, user, and web configs to do the system logging instead of file and even disabled the remote errors to show only the asp... and then re enabled, but when I go to the Administration section the system log area is still blank.. Am i doing something wrong here?

 

Tyler

3/11/2012 9:58:12 AM
Gravatar
Total Posts 18439

Re: Store Issues {Help Please}

Are you sure you made the correct changes to the log4net.config file as well as adding the needed setting in user.config as indicated in the article?

Note that changes to user.config are not automatically detected so you have to touch web.config after editing user.config.

Then of course errors will only be logged when errors happen but you should see at least some info logging for application start event after touching web.config

I think you misunderstand the customerrors element in Web.config

RemoteIOnly means it will show the friendly error page for remote requests and only show the error details when browsing locally ie using localhost as the url. To make it always show the error detail you need to set it mode="Off"

Hope that helps,

Joe

3/11/2012 10:27:16 AM
Gravatar
Total Posts 15

Re: Store Issues {Help Please}

So obviously before pasting this i'm only pasting the changes made not the full document for security reasons. 

user.config : http://pastebin.com/7GvnSsu7

web.config : http://pastebin.com/PmRExf7v - this is the db log file

log4net file: http://pastebin.com/Z1XnH6iW

 

As for the customErrors, I have tried everything in every possible way.

to disable it, i commented out yours and added the following code: 

<customErrors mode = "off" />

but still for some reason, there is no logging of the error whatsoever still.. I honestly have no clue what's going on 

3/11/2012 10:39:21 AM
Gravatar
Total Posts 18439

Re: Store Issues {Help Please}

previously you said:

when turning off the customErrors, i basically get an error that says hey go turn them back on.

That makes me think you made a mistake which caused it to fail to load the web.config file. Most likely you are making mistakes commenting things out. With <customErrors mode="Off" /> the site should still work and any error should result in details being shown. If that is not happening and the site does not load after your changes you are doing something wrong, most likely, making a mistake with the comment syntax, so instead of commenting anything out just change the setting.

Hope that helps,

Joe

3/11/2012 11:05:52 AM
Gravatar
Total Posts 15

Re: Store Issues {Help Please}

well I deleted it all togather and I think i found the issue. I think its something with 1and1. I think they have their own logs that will somehow disable the other logs. not entirely sure, but I found logs in the root folder of my site. and I see errors, but its just mishmash. 

 

I'm gonna try an install of the 4.0 system. and see if that works. 

3/11/2012 11:13:18 AM
Gravatar
Total Posts 18439

Re: Store Issues {Help Please}

Unless you have a place in your control panel where you can specify a .NET 4 app pool that is not going to work to installl the .NET 4 package of mojoPortal.

I don't see how they could prevent logging that is internal to mojoPortal code. But logging aside you should be able to get the error detail by setting custom error off.

You mentioned you are using source code, the problem could be related to how you are producing and deploying a build. Why not start with deleting all the files and deploy the offical release package of mojoPortal 2.3.8.1 for .NET 3.5.

3/11/2012 4:01:44 PM
Gravatar
Total Posts 15

Re: Store Issues {Help Please}

So I think i may have found the issue for the Gcheckout. I dont think i fully configured the site to run off ssl. I only changed the cookie's and something else. So once I start a fresh install of .net 3.5 i'll fully integrate it this time. 

 

Now for the notifications to return back to the server.. have any reason why that wouldn't be returning back to the server? 

I originally setup paypal sandbox and got it working fully. Its really not that hard in sandbox. instead of using a Preconfigured one, you would setup one yourself. Next I made sure the auto on was obviously set to on. and changed the other things needed for the paypal configuration. Only thing is in sandbox, you'll never get the IPT to work cause the payment never follows through, so on the tab there is an IPT function.. This is where i stopped and actually opened up my site for complete testion and made a $1 transaction and paid for it out of my account. Only thing is.. when i paid and redirected back to my website.. the data was incomplete under the ecommerce section. there was no data. You have any idea what might be causing that?

You must sign in to post in the forums. This thread is closed to new posts.