8 replies [Last post]
jasonruyle's picture
Offline
Joined: 01/18/2008
Juice: 235
Was this information Helpful?

Just re-launched a site moving from Joomla to Drupal + Ubercart.

http://www.thunderdogstudios.com/

You can check the store out at:

http://www.thunderdogstudios.com/store/

The products page is pretty customized, but works pretty well in modern browsers. The store has been working great and TD has been selling out on their different products pretty quickly.

Individual products page
http://thunderdogstudios.com/store/thundermutt-145
They are selling vinyl toys, posters, and maybe clothing in the future. The page automatically pulls in user details, which has been quite handy. I utilized jScrollPane for the scroll effect and a whole lot more jQuery plugins.

torgosPizza's picture
Offline
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.
Joined: 08/14/2007
Juice: 4110
Looks good Just thought

Looks good Smiling

Just thought I'd let you know when I go to pages such as collective or about, I get this error at the very bottom:

Fatal error: Call to undefined function arg() in /.../sites/all/modules/ubercart/payment/uc_credit/uc_credit.module on line 178

It's interesting that it appears at the very bottom, and doesn't actually break the page - which a Fatal error would normally do... anyways, nice job on the site, minimalistic design but I think that's okay, as the focus seems to be the artwork. Now I'm interested in browsing through it! Smiling

--
Help directly fund development: Donate via PayPal!

jasonruyle's picture
Offline
Joined: 01/18/2008
Juice: 235
Re: Looks good

That's weird, it's showing when your not logged in.
Could secure pages be causing this type of error?

I disabled it and the error is gone.

sreese's picture
Offline
Bug Finder
Joined: 10/16/2008
Juice: 12
Re: Re: Looks good

I'm having the same problem on a site I'm developing and it's become a major roadblock for me. I can't enable the Credit Card module on ubercart because it gives the WSOD with the message:

Fatal error: Call to undefined function arg() in [path/to/site]/sites/all/modules/contrib/ubercart/payment/uc_credit/uc_credit.module on line 182

Turning off securepages is unfortunately not an option at this point. Anybody got any other ideas on how to fix this?

I am using the latest release of Ubercart (1.5).

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Re: Re: Looks good

Sounds like a more serious issue w/ Drupal since arg() is a core function. It could always be a memory issue. Puzzled

torgosPizza's picture
Offline
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.
Joined: 08/14/2007
Juice: 4110
Re: Re: Re: Re: Looks good

Either a memory or ulimit issue. I've found that on our Dev server, everytime I log into SSH I need to reset my ulimit (which is the number of open files at any given moment). The default is 1024. When this gets set to the default it causes WSOD because it can't include many of the core Drupal files, resulting in unknown functions (since the files including those functions don't exist).

If you can, log into SSH and type:

ulimit -n

That'll give you what your current limit is. To change it, do something like:

ulimit -n 16000

and then, restart apache:

apachectl restart

If you can't do this, ask someone in the host support team to do it for you. Hopefully it'll solve the issue; either way it doesn't hurt, AFAIK.

--
Help directly fund development: Donate via PayPal!

sreese's picture
Offline
Bug Finder
Joined: 10/16/2008
Juice: 12
Re: Re: Re: Re: Re: Looks good

Yeah, that's what I thought too..."why would arg() be unknown?"

I'm also not sure I really want to start fiddling with ulimit without really knowing what impact it will have on our server. It is our server so I could try it but I don't want to do anything that would impact our other clients who have live sites running.

We do need more RAM in this machine so that may very well be the cause.

Thanks for the suggestions!

Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6846
Re: Re: Re: Re: Looks good

arg() problem in uc_credit_exit() discussed here:

http://www.ubercart.org/forum/bug_reports/7017/fatal_error_call_undefine...

72dpi's picture
Offline
Joined: 10/07/2007
Juice: 134
Nice jason, Looks like a fun

Nice jason,

Looks like a fun brand to create a site for.
Love the way the products images navigate, very special mate. Custom jquery plugin specific for this site? love it.

is this your site?, i'll do an article on it on my toy site and an interview, to get a little google goodness going your way.

Well done mate