need new buttons added to spreadfirefox's affiliate module

RESOLVED FIXED

Status

mozilla.org Graveyard
Server Operations
--
major
RESOLVED FIXED
11 years ago
3 years ago

People

(Reporter: asa, Assigned: oremj)

Tracking

Details

Attachments

(1 attachment)

(Reporter)

Description

11 years ago
We have seven new buttons that need to be added to spread firefox's affiliates button module/page/whatever it's called. 

I'm attaching a zip file with the seven new buttons. I suspect they belong in the same directory as all the other buttons. (which I think is http://sfx-images.mozilla.org/affiliates/Buttons/ )

Then I need all the current buttons and banners removed from the page at http://www.spreadfirefox.com/?q=affiliates/homepage so that we're just featuring these seven new buttons. (note, I don't want to remove those old buttons from the module, just from the html of the page so new people don't see them -- but I don't want to break all the people currently using the old buttons.)
(Reporter)

Comment 1

11 years ago
Created attachment 242572 [details]
new sfx buttons for affiliate program
OS: Other → All
Asa, you will have to edit the html so it refers to these new images/buttons.

You can check/add these new buttons into CVS along with the updated html.

Once this has been approved in the staging area, I can sync it to production.
Assignee: server-ops → aravind
(Reporter)

Comment 3

11 years ago
Paul or Ian, can you handle this? I haven't done it before and don't want to screw it up.

Comment 4

11 years ago
(In reply to comment #3)
> Paul or Ian, can you handle this? I haven't done it before and don't want to
> screw it up.
> 

No problem, we are on it.
(Reporter)

Comment 5

11 years ago
Ian and Paul, can you all make this happen quickly? We've got other pages that depend on having this up.

Comment 6

11 years ago
(In reply to comment #5)
> Ian and Paul, can you all make this happen quickly? We've got other pages that
> depend on having this up.
> 

Ian has given the go ahead to push these changes from willow to the production server , i'll update this ticket shortly .. 

Comment 7

11 years ago
Would you please upload all the new button under 
http://sfx-images.mozilla.org/affiliates/Buttons/firefox2/

Further instructions coming ....

Comment 8

11 years ago
Would you please add the following records to the affiliate tables ....


INSERT INTO `affiliates_cats` VALUES (010, 'Firefox 2', 'Y');


INSERT INTO `affiliates_weights` VALUES (0000000209, 'firefox-spread-btn-1', 1, 'http://sfx-images.mozilla.org/affiliates/Buttons/firefox2/firefox-spread-btn-1.png', 'image', 010, 108, NULL, 'Active');
INSERT INTO `affiliates_weights` VALUES (0000000210, 'firefox-spread-btn-1b', 1, 'http://sfx-images.mozilla.org/affiliates/Buttons/firefox2/firefox-spread-btn-1b.png', 'image', 010, 109, NULL, 'Active');
INSERT INTO `affiliates_weights` VALUES (0000000213, 'firefox-spread-btn-2', 1, 'http://sfx-images.mozilla.org/affiliates/Buttons/firefox2/firefox-spread-btn-2.png', 'image', 010, 110, NULL, 'Active');
INSERT INTO `affiliates_weights` VALUES (0000000214, 'firefox-spread-btn-3', 1, 'http://sfx-images.mozilla.org/affiliates/Buttons/firefox2/firefox-spread-btn-3.png', 'image', 010, 111, NULL, 'Active');
INSERT INTO `affiliates_weights` VALUES (0000000215, 'firefox-spread-btn-4', 1, 'http://sfx-images.mozilla.org/affiliates/Buttons/firefox2/firefox-spread-btn-4.png', 'image', 010, 112, NULL, 'Active');
INSERT INTO `affiliates_weights` VALUES (0000000216, 'firefox-spread-btn-5', 1, 'http://sfx-images.mozilla.org/affiliates/Buttons/firefox2/firefox-spread-btn-5.png', 'image', 010, 113, NULL, 'Active');
INSERT INTO `affiliates_weights` VALUES (0000000217, 'firefox-spread-btn-6', 1, 'http://sfx-images.mozilla.org/affiliates/Buttons/firefox2/firefox-spread-btn-6.png', 'image', 010, 114, NULL, 'Active');

Comment 9

11 years ago
Please can you then push the following file affiliates.module to the production server from the stage sandbox 

The changes will showcase the new firefox 2 buttons on http://www.spreadfirefox.com/affiliates/homepage

Please always carry out the basic test of clearing the drupal cache 
and checking the site is still there after
making any change on SFx  . I will add these instruction to
all requests, its just a helpful reminder .

Notes : All paths are relative to drupal root /home/paul/spreadfirefox on the sandbox server willow.mozilla.org (SSFx)

Best Regards
Paul
Done.  Should progagate in about 10 minutes.
Status: NEW → RESOLVED
Last Resolved: 11 years ago
Resolution: --- → FIXED

Comment 11

11 years ago
(In reply to comment #10)
> Done.  Should progagate in about 10 minutes.
> 

We are getting reports in to SFx that affiliate links are no longer working, links hang instead of re-routing to download page.

http://www.spreadfirefox.com/node/25457

To replicate.
Firefox 2 button on this site http://www.biyg.org/
old get firefox badge on this site  http://www.wsdd.org/

can't reopen bug with privs, can someone reopen please...

Status: RESOLVED → REOPENED
Resolution: FIXED → ---
(Reporter)

Comment 12

11 years ago
Could this be related to the fallout that started after the security update (or whatever it was that started all those warnings and busted functionality at sfx?)
I see these errors in the logs.  It looks like the docroot is missing these helper scripts.  Checking with jeremy.

[client 10.2.81.4] PHP Notice:  Undefined index:  q in /data/www/www.spreadfirefox.com/index.php on line 13
[client 10.2.81.5] PHP Warning:  main(helper_scripts/sfx_database_connection_details.php): failed to open stream: No such file or directory in /data/www/www.spreadfirefox.com/affiliates.php on line 3, referer: http://www.wsdd.org/
[client 10.2.81.5] PHP Warning:  main(): Failed opening 'helper_scripts/sfx_database_connection_details.php' for inclusion (include_path='.:/usr/share/pear') in /data/www/www.spreadfirefox.com/affiliates.php on line 3, referer: http://www.wsdd.org/
[client 10.2.81.5] PHP Warning:  main(helper_scripts/db.php): failed to open stream: No such file or directory in /data/www/www.spreadfirefox.com/affiliates.php on line 4, referer: http://www.wsdd.org/
[client 10.2.81.5] PHP Warning:  main(): Failed opening 'helper_scripts/db.php' for inclusion (include_path='.:/usr/share/pear') in /data/www/www.spreadfirefox.com/affiliates.php on line 4, referer: http://www.wsdd.org/
[client 10.2.81.5] PHP Fatal error:  Cannot instantiate non-existent class:  db in /data/www/www.spreadfirefox.com/affiliates.php on line 7, referer: http://www.wsdd.org/
[client 10.2.81.4] PHP Notice:  Undefined index:  q in /data/www/www.spreadfirefox.com/index.php on line 13
[client 10.2.81.4] PHP Warning:  main(helper_scripts/sfx_database_connection_details.php): failed to open stream: No such file or directory in /data/www/www.spreadfirefox.com/affiliates.php on line 3
[client 10.2.81.4] PHP Warning:  main(): Failed opening 'helper_scripts/sfx_database_connection_details.php' for inclusion (include_path='.:/usr/share/pear') in /data/www/www.spreadfirefox.com/affiliates.php on line 3
[client 10.2.81.4] PHP Warning:  main(helper_scripts/db.php): failed to open stream: No such file or directory in /data/www/www.spreadfirefox.com/affiliates.php on line 4
[client 10.2.81.4] PHP Warning:  main(): Failed opening 'helper_scripts/db.php' for inclusion (include_path='.:/usr/share/pear') in /data/www/www.spreadfirefox.com/affiliates.php on line 4
[client 10.2.81.4] PHP Fatal error:  Cannot instantiate non-existent class:  db in /data/www/www.spreadfirefox.com/affiliates.php on line 7
(Assignee)

Updated

11 years ago
Assignee: aravind → oremj
Status: REOPENED → NEW
(Assignee)

Comment 14

11 years ago
Fixed the redirect problem.  

Two things to note.

1.  Seems like those files should be in CVS.
2.  That script should probably be changed so if it cannot find those files, has a db error, etc it redirects the user anyways.

Status: NEW → RESOLVED
Last Resolved: 11 years ago11 years ago
Resolution: --- → FIXED
(In reply to comment #11)
> can't reopen bug with privs, can someone reopen please...

This has been fixed. You should be in the canconfirm and editbugs groups now.
Product: mozilla.org → mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.