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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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?