Copper Ads Plugin for Coopermine Version 1.5.x Copper Ads Plugin for Coopermine Version 1.5.x
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Copper Ads Plugin for Coopermine Version 1.5.x

Started by foulu, January 23, 2011, 03:05:52 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.


Forgottenmem

I dont understand what you mean when you say comment
1.open helpers/codebase15x_helper.php and comment Line 30~69

Forgottenmem

Parse error: syntax error, unexpected '(', expecting '}' in /xxxxxxxxx.com/html/plugins/copperads/helpers/codebase15x_helper.php on line 83

This is  the error I am getting, I'm running the latest version.

dimo78

To fix plugin you should make two replacements in the code of copperads/helpers/codebase15x_helper.php file:

1. replace on line 83


    if ($stop) {
    echo <<< EOT
        <form action="{$superCage->server->getEscaped('REQUEST_URI')}" method="post">


with


    $action_uri = $superCage->server->getEscaped('REQUEST_URI');
    if ($stop) {
    echo <<< EOT
        <form action="{$action_uri}" method="post">




2. replace on line 138


    if ($action === 1) {
        echo <<<EOT
<form action="{$superCage->server->getEscaped('REQUEST_URI')}" method="post">


with


    $action_uri = $superCage->server->getEscaped('REQUEST_URI');
    if ($action === 1) {
        echo <<<EOT
<form action="{$action_uri}" method="post">


I've attached already fixed file too. Extract in copperads/helpers folder and run installation process.

Regards
Dimo Todorov

whats_up_skip

Is anyone still using this plugin?

Could they put a link to their active site?