Support Forums

Adding listing through Administration

This is a discussion on Adding listing through Administration within the Technical Support forums, part of the Technical Support Forums category; Hi, When i add a listing through Administration, i get this error Code: * @author Dominique Stender * @copyright Copyright ...


Go Back   68 Classifieds Forums > Technical Support Forums > Technical Support

This topic is resolved.

If you have a similar issue that this thread does not address, open a new related support topic.

 
Thread Tools Display Modes
Old 12-06-2008, 07:50 PM   #1
Genius At Work
 
bowers01's Avatar
 
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 1,089
Rep Power: 37
bowers01 is on a distinguished road
Default Adding listing through Administration

Hi,
When i add a listing through Administration, i get this error
Code:
* @author Dominique Stender * @copyright Copyright (c) 2005-2006 Paul Sullivan, Dominique Stender - http://sf.net/projects/cpaint * @version 2.0.3 */ //---- proxy settings ---------------------------------------------------------- $cpaint2_config["proxy.security.use_whitelist"] = true; // Use the whitelist for allowed URLs? //---- proxy security whitelist ------------------------------------------------ /* whitelist data should be added to the variable $cpaint2_proxy_whitelist[] example: $cpaint2_proxy_whitelist[] = "example.com/test.php"; - or - example: $cpaint2_proxy_whitelist[] = "example.com"; ** Omit http:// and https:// from the URL ** */ $cpaint2_proxy_whitelist[] = $_SERVER['HTTP_HOST']; // this server ?>
Screenshot: http://everythingsfree.org/image//im...22724admin.jpg

Any idea why and how to fix it?
Cheers,
Nick
__________________
Nick Bowers
68c v4.1.10 Developer Custom Template
bowers01 is offline  
Old 12-06-2008, 08:14 PM   #2
curmudgeon
 
Join Date: Mar 2006
Posts: 5,416
Rep Power: 139
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

Care to share with us what version of 68C this is on?
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline  
Old 12-06-2008, 08:35 PM   #3
Genius At Work
 
bowers01's Avatar
 
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 1,089
Rep Power: 37
bowers01 is on a distinguished road
Default

Sorry that used to be in my sig.
4.09 developer.
Cheers
__________________
Nick Bowers
68c v4.1.10 Developer Custom Template
bowers01 is offline  
Old 12-07-2008, 03:02 AM   #4
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,489
Rep Power: 136
Eric Barnes is just really nice Eric Barnes is just really nice
Default

It looks like php was opened with short tags in that file. If you would please open includes/classes/cpaint/cpaint2.config.php and find at the very top:
<?

Replace with:
<?php
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline  
Old 12-07-2008, 04:07 AM   #5
Genius At Work
 
bowers01's Avatar
 
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 1,089
Rep Power: 37
bowers01 is on a distinguished road
Default

Thanks, that did the trick
__________________
Nick Bowers
68c v4.1.10 Developer Custom Template
bowers01 is offline  
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
how do you change dollar sign to euro sign on listing package page in administration? cottage_rentals Technical Support 1 11-26-2008 02:58 AM
Adding buy now button to listing Nickb Templates, HTML, CSS, and Design Help 3 08-09-2007 02:11 PM


All times are GMT -4. The time now is 06:57 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0