Results 1 to 10 of 10
  1. #1
    Join Date
    Apr 2014
    Location
    UK
    Posts
    15
    Plugin Contributions
    0

    Default Blank Screen after Add to Cart

    Hi,

    Please see: http://www.littlehamptoncuttingtools...oducts_id=2504 and 'add to cart' .

    As you will see, this goes to a blank screen, (in internet explorer displays HTTP 500 Internal Server Error).

    I have the below errors as some help. I have replaced all these files and checked for extra lines / spaces at the begin and end as some posts state. I have also re-uploaded the entire template again. I have also enabled strict error reporting.

    I am at that stage where its turning me slightly crazy, and would be really grateful for anyones assistance with this. For what its worth - I have previously installed the same template elsewhere, and it works fine - ( for example: http://www.carseatcushions.co.uk/ind...&products_id=2 ).

    Its possible of course, I am missing the obvious now rather blurry eyed with it all. Theme Developer / Hosting Company can only direct me to the forum - so not sure where to go next.

    Hope someone can help! - Thanks in advance, Dan.

    [Wed May 06 14:43:14 2015] [error] [client 212.42.162.131] PHP Warning:
    session_save_path() [<a
    href='function.session-save-path'>function.session-save-path</a>]: open_basedir
    restriction in effect.
    File(/home/sites/littlehamptoncuttingtools.com/public_html/cache) is not within
    the allowed path(s): (/www/business/14517:/www/business/tmp:/www/business/temp)
    in /www/business/14517/includes/functions/sessions.php on line 167, referer:
    http://www.littlehamptoncuttingtools...oducts_id=1646
    [Wed May 06 14:43:15 2015] [error] [client 212.42.162.131] PHP Fatal error:
    Call to undefined function zen_create_random_value() in
    /www/business/14517/includes/classes/shopping_cart.php on line 1297, referer:
    http://www.littlehamptoncuttingtools...oducts_id=1646
    [Wed May 06 14:43:15 2015] [error] [client 212.42.162.131] PHP Fatal error:
    Class 'queryFactoryResult' not found in
    /www/business/14517/includes/classes/db/mysql/query_factory.php on line 194,
    referer:
    http://www.littlehamptoncuttingtools...oducts_id=1646

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,942
    Plugin Contributions
    96

    Default Re: Blank Screen after Add to Cart

    Quote Originally Posted by mrdanashton View Post
    Hi,

    Please see: http://www.littlehamptoncuttingtools...oducts_id=2504 and 'add to cart' .

    As you will see, this goes to a blank screen, (in internet explorer displays HTTP 500 Internal Server Error).

    I have the below errors as some help. I have replaced all these files and checked for extra lines / spaces at the begin and end as some posts state. I have also re-uploaded the entire template again. I have also enabled strict error reporting.

    I am at that stage where its turning me slightly crazy, and would be really grateful for anyones assistance with this. For what its worth - I have previously installed the same template elsewhere, and it works fine - ( for example: http://www.carseatcushions.co.uk/ind...&products_id=2 ).

    Its possible of course, I am missing the obvious now rather blurry eyed with it all. Theme Developer / Hosting Company can only direct me to the forum - so not sure where to go next.

    Hope someone can help! - Thanks in advance, Dan.

    [Wed May 06 14:43:14 2015] [error] [client 212.42.162.131] PHP Warning:
    session_save_path() [<a
    href='function.session-save-path'>function.session-save-path</a>]: open_basedir
    restriction in effect.
    File(/home/sites/littlehamptoncuttingtools.com/public_html/cache) is not within
    the allowed path(s): (/www/business/14517:/www/business/tmp:/www/business/temp)
    in /www/business/14517/includes/functions/sessions.php on line 167, referer:
    http://www.littlehamptoncuttingtools...oducts_id=1646
    [Wed May 06 14:43:15 2015] [error] [client 212.42.162.131] PHP Fatal error:
    Call to undefined function zen_create_random_value() in
    /www/business/14517/includes/classes/shopping_cart.php on line 1297, referer:
    http://www.littlehamptoncuttingtools...oducts_id=1646
    [Wed May 06 14:43:15 2015] [error] [client 212.42.162.131] PHP Fatal error:
    Class 'queryFactoryResult' not found in
    /www/business/14517/includes/classes/db/mysql/query_factory.php on line 194,
    referer:
    http://www.littlehamptoncuttingtools...oducts_id=1646
    You need to log into your admin and change your Configuration->Sessions->Session Directory setting from /home/sites/littlehamptoncuttingtools.com/public_html/cache to www/business/14517/cache.

  3. #3
    Join Date
    Apr 2014
    Location
    UK
    Posts
    15
    Plugin Contributions
    0

    Default Re: Blank Screen after Add to Cart

    Thank you for that.

    I have tried this - and changed to www/business/14517/cache (wasn't sure if I should have a / before or not, so tried that too) - and still the same.

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,942
    Plugin Contributions
    96

    Default Re: Blank Screen after Add to Cart

    Quote Originally Posted by mrdanashton View Post
    Thank you for that.

    I have tried this - and changed to www/business/14517/cache (wasn't sure if I should have a / before or not, so tried that too) - and still the same.
    Yes, that was my bad, the change should be /www/business/14517/cache. Are you still getting the exact-same error message?

  5. #5
    Join Date
    Apr 2014
    Location
    UK
    Posts
    15
    Plugin Contributions
    0

    Default Re: Blank Screen after Add to Cart

    Hi - No worries, I am grateful for your help.

    Yes, I have tried /www/business/14517/cache - and still the same.

  6. #6
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,942
    Plugin Contributions
    96

    Default Re: Blank Screen after Add to Cart

    I'm puzzled. When you say "still the same", is the debug-log you're receiving exactly the same as the one you posted previously?

  7. #7
    Join Date
    Apr 2014
    Location
    UK
    Posts
    15
    Plugin Contributions
    0

    Default Re: Blank Screen after Add to Cart

    Sorry, to confirm - this is what I now get from the debug currently, when trying to add to cart, after implementing above... (the add to cart button still goes to HTTP 500 Internal Server Error

    [10-May-2015 21:30:54 Europe/London] PHP Fatal error: Call to undefined function zen_create_random_value() in /www/business/14517/includes/classes/shopping_cart.php on line 1297
    [10-May-2015 21:30:54 Europe/London] PHP Fatal error: Class 'queryFactoryResult' not found in /www/business/14517/includes/classes/db/mysql/query_factory.php on line 194

  8. #8
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,942
    Plugin Contributions
    96

    Default Re: Blank Screen after Add to Cart

    Never mind; off-base and incorrect advise.

  9. #9
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,532
    Plugin Contributions
    127

    Default Re: Blank Screen after Add to Cart

    @mrdanashton, your post says you are running 1.5.0 - if so, this function *should* be in includes/functions/functions_general.php. Compare the copy on your site to a fresh download of 1.5.0.

    If you are running 1.5.4, this function *should* be in includes/functions/password_funcs.php. Compare the copy on your site to a fresh download of 1.5.4.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  10. #10
    Join Date
    Apr 2014
    Location
    UK
    Posts
    15
    Plugin Contributions
    0

    Default Re: Blank Screen after Add to Cart

    Thank you SO much swguy!! Yes, I replaced includes/functions/functions_general.php with new copy and add to cart functions fine now.

    Wish I could shake your hand...

    Thanks again!
    Dan.

 

 

Similar Threads

  1. v154 Blank Screen After Upgrade (fixed) but now blank screen after login!
    By Kias Henry in forum Upgrading to 1.5.x
    Replies: 6
    Last Post: 23 Jun 2015, 07:32 PM
  2. v150 While click add to cart button, it goes to blank screen page
    By Rb Arun in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 20 Dec 2013, 03:36 PM
  3. v151 Add to Cart giving me a blank screen
    By psvialli in forum General Questions
    Replies: 6
    Last Post: 29 Mar 2013, 01:20 AM
  4. After Add to Cart Blank Screen
    By kdogg in forum General Questions
    Replies: 2
    Last Post: 30 Jul 2010, 01:22 PM
  5. *URGENT* Add to Cart giving blank screen
    By laurelee in forum Managing Customers and Orders
    Replies: 25
    Last Post: 1 Dec 2008, 01:17 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg