Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2014
    Posts
    5
    Plugin Contributions
    0

    Default New Payment Module breaks Admin Modules page

    Hello Everybody! I'm developing a new payment module for zen cart but I'm facing a weird problem. My payment module class is 'breaking' the payment modules page in admin area.The side bar goes missing and every other payment module that is not native disappears also. Does someone knows what I'm doing wrong?

    Thank you

  2. #2
    Join Date
    Jul 2012
    Posts
    16,718
    Plugin Contributions
    17

    Default Re: New Payment Module breaks Admin Modules page

    Quote Originally Posted by hdolinski View Post
    Hello Everybody! I'm developing a new payment module for zen cart but I'm facing a weird problem. My payment module class is 'breaking' the payment modules page in admin area.The side bar goes missing and every other payment module that is not native disappears also. Does someone knows what I'm doing wrong?

    Thank you
    Don't know which next step to specifically provide as the post is missing some valuable information. (Please refer to the posting guidelines that hopefully appear above the message box when typing a message to the forum.)

    A blank or partial blank screen (as in this case) generally creates an error log. For ZC 1.5.1 and above this is in the logs folder, for ZC 1.5.0 and below this is in the cache folder. While the warnings listed in the log(s) are helpful, the error message(s) are what have stopped execution. Posting these logs (without the admin directory specifically identified) will help other help you and will may help others that come across this post in the future.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: New Payment Module breaks Admin Modules page

    Quote Originally Posted by hdolinski View Post
    My payment module class is 'breaking' the payment modules page in admin area.The side bar goes missing and every other payment module that is not native disappears also. Does someone knows what I'm doing wrong?
    Almost any error in your code will produce this symptom, so the possibilities are endless.

    Tip: One common cause would be if you happen to be making a backup copy of the file you are working on and keeping this backup in the same folder as the code being worked on, and having a .php extension for both codes. The error message (in the log files) will read something like 'can't redeclare class'. The solution is to rename the backup(s) so they DON'T end with .php

    Cheers
    RodG

  4. #4
    Join Date
    Aug 2014
    Posts
    5
    Plugin Contributions
    0

    Default Re: New Payment Module breaks Admin Modules page

    Hey guys, thank you for the reply!
    I manage to find out what happens including this code in the module php file:

    ini_set('display_errors', -1);
    error_reporting(E_ALL ^ E_NOTICE);

 

 

Similar Threads

  1. v154 None of the default Shipping, Payment or Order Total Modules appear in my Admin Page
    By ZacYonekawa in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 1 May 2016, 12:06 AM
  2. Problem with admin module page admin/modules.php?set=shipping
    By AJBUY in forum Built-in Shipping and Payment Modules
    Replies: 7
    Last Post: 13 Dec 2014, 11:23 PM
  3. Translation breaks payment settings in admin
    By januzi in forum General Questions
    Replies: 1
    Last Post: 22 Oct 2010, 11:35 AM
  4. Protx Module Missing in Payment Modules List in my admin
    By edzpgt in forum Addon Payment Modules
    Replies: 15
    Last Post: 24 Jul 2009, 07:37 PM
  5. payment module failed to open stream in admin/modules.php
    By hansolo2008 in forum Addon Payment Modules
    Replies: 1
    Last Post: 25 Apr 2008, 07:56 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR