osCmax v2.5 User Manual
Results 1 to 6 of 6

Affiliate Program not in some templates?

This is a discussion on Affiliate Program not in some templates? within the osCMax v1.7 Installation forums, part of the osCmax v1.7 Forums category; Me again.... I installed V1.5.5 as I couldn't get 1.7 to work in the time frame I had, and on ...

      
  1. #1
    Member
    Join Date
    Nov 2004
    Posts
    84
    Rep Power
    0


    Default Affiliate Program not in some templates?

    Me again.... I installed V1.5.5 as I couldn't get 1.7 to work in the time frame I had, and on two of the templates (One Table and OSC), when you click on affiliate program, you get this error :

    Warning: main(templates/osC/content/affiliate_info.tpl.php): failed to open stream: No such file or directory in /mypath/catalog/templates/osC/main_page.tpl.php on line 52

    Warning: main(templates/osC/content/affiliate_info.tpl.php): failed to open stream: No such file or directory in /mypath/catalog/templates/osC/main_page.tpl.php on line 52

    Fatal error: main(): Failed opening required 'templates/osC/content/affiliate_info.tpl.php' (include_path='.:/usr/share/pear') in /mypath/catalog/templates/osC/main_page.tpl.php on line 52



    I don't see any affiliate files in the content section of either of these template models. I tried copying them over from the CSS content folder, but it did nothing. Nothing changed, so I'm guessing it's more than the fact there are no files there.

    Any idea how to fix this? I checked it on a previous installation where I didn't use either template, and it does have the same issue. Sadly enough, I have a customer who LOVES the One Table template (what are the odds?).



    Thanks-

  2. #2
    Member
    Join Date
    Nov 2004
    Posts
    89
    Rep Power
    0


    Default

    The customer does not need to use that template. But that error can ONLY mean that templates/osC/content/affiliate_info.tpl.php does not exist. So that MUST be the problem. Look it over again and try copying the files again.

  3. #3
    Member
    Join Date
    Nov 2004
    Posts
    84
    Rep Power
    0


    Default

    Yeah, I know I can redo the template to make it look like that one, but I'm trying to not have to do that.

    There are no affiliate related links in either template I mentioned. I have the source and it's not in those original files either.

    Are the files template specific? Can I just copy them over and have them work? I assume all of them start with affiliate?

    I realize now when I copied them over to try it out, it stripped off the .php and made them .tpl files, which was the reason it didn't work when I copied them over.

    So can I just copy all the affiliate files from /aabox/content/ to /onetable/content/ and be good to go?

    Thanks-

  4. #4
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default

    Quote Originally Posted by goaskmom
    So can I just copy all the affiliate files from /aabox/content/ to /onetable/content/ and be good to go?
    Yes, you are correct.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  5. #5
    Member
    Join Date
    Nov 2004
    Posts
    89
    Rep Power
    0


    Default

    Or download a fresh copy and use those just to be safe

  6. #6
    Member
    Join Date
    Nov 2004
    Posts
    84
    Rep Power
    0


    Default

    Done- seems to work just fine- thanks!

Similar Threads

  1. Removing Affiliate Program
    By nootkan in forum osCMax v2 Features Discussion
    Replies: 4
    Last Post: 03-06-2007, 03:39 AM
  2. affiliate program
    By michaelsharp in forum osCommerce 2.2 Modification Help
    Replies: 2
    Last Post: 11-13-2004, 10:31 AM
  3. does the affiliate program work in reverse?
    By bushman in forum osCmax v1.7 Discussion
    Replies: 2
    Last Post: 10-22-2003, 07:04 AM
  4. Is there a module for an affiliate program?
    By SKINEFX in forum osCommerce 2.2 Modification Help
    Replies: 2
    Last Post: 06-13-2003, 01:31 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
  •