Is it a bad idea to install CPM Fetch when you are using Tiny Portal? - Page 2 Is it a bad idea to install CPM Fetch when you are using Tiny Portal? - Page 2
 

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

Is it a bad idea to install CPM Fetch when you are using Tiny Portal?

Started by klewless, March 18, 2007, 07:45:48 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

vuud

Quote from: klewless on March 23, 2007, 05:02:14 AM
I can't log in at all, not as user, nor as admin.

So I tried removing the old cpmfetch file using my ftp program, uploaded a new one and installed it successfully. I still get the same defective login page.

Sometimes it takes things a while to work through the server. I am afraid I will have to remove CPMFetch, and TP, which seems pretty daunting to uninstall; then reinstall TP in order to log in.

More than willing to give you the information you requested if only one could log in. Do you think there is anything else I can do? If I shoot myself the whole problem will go away but I dont want to do anything to disappoint the people who will be using our new site. (Just kidding)   :'(

Klew

If it was me, I would determine where TinyPortal was stuffing the PHP code I inserted, and delete it.  Probably gets put into your database.

Or at least change it to something inert.

I tried to download TP to see if I could give you a better answer, but I need to register to download it, which I find particularly annoying and won't do on principle.  So there TP!  Hah!

Anyway, do you get something like phpMyAdmin with your account?  That typically makes it much easier to thumb through things and find it.  You can PM me access info if you want, I can poke at it in the morning at work.   You can also attach the TP download to a post here and I can skim the code and see where it puts stuff.

If you look at your database, the tiny portal tables should be somewhat obvious... once you find them, locate the record with the include above and  remove the contents (not the record).

If you have a right hand column, that may be the place to do the testing in, it gets rendered later so...

Anyway...












Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

klewless

Hi again,

Yes, you were right. It was a bad path. I had apparently tried adding the name of my site before the cpg1410, I am still at a loss as to how to get this to work though. You would not believe all the people on the TP site about this, a zillion solutions including m=some non-cpmfetch ones; not too many of which I understand. I dont understand why it just will not work the way you say it is supposed to work.

If you wish to try to see what is going on I pm'd you, you can, at least, login now.
Kind regards
K

vuud

Quote from: klewless on March 23, 2007, 11:58:55 AM
Hi again,

Yes, you were right. It was a bad path. I had apparently tried adding the name of my site before the cpg1410, I am still at a loss as to how to get this to work though. You would not believe all the people on the TP site about this, a zillion solutions including m=some non-cpmfetch ones; not too many of which I understand. I dont understand why it just will not work the way you say it is supposed to work.

If you wish to try to see what is going on I pm'd you, you can, at least, login now.
Kind regards
K


TinyPortal overall, is the easiest one I think to get working...

Just not terribly forgiving on syntax errors

Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

klewless

Hi Vuud!

GAAAAA!!!! Holy %^#$!!!!!!!!!  :-[ :-[ :-[ :-[ :-[

I can't believe I made such a stupid basic error. And I can't believe how much it messed things up. It's not like we wanted something really fancy or anything. I guess I was getting a little desparate and sloppy as a consequence.

We all owe you a BIG hug and a thank you for taking a look at this. The site looks GREAT now. It is amazing what a little color and a few small images will do in the way of brightening up a page.

This is SOOOOOOOOO GREAT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Thanx!! again!! fo :) :) :) :) :)r your time patience and sharing your talent with us mortals.

Klewless 8)

Sugandya

Aww...
We're having this exact same problem at our site, too.  Is it a problem to ask for the solution to what you did so I can apply it to my cpmfetch with TinyPortal? I'd be most grateful. :)

eeL

This did it for me with ver. 2
Hope this helps!

Quoteecho "<CENTER>";
echo 'Recent Member Photos';
include "../gallery/cpmfetch/cpmfetch.php";
$objCpm = new cpm("../gallery/cpmfetch/cpmfetch_config.php");
$objCpm->cpm_viewLastAddedMedia(2,4);
echo 'View Gallery';
echo "</center>";
$objCpm->cpm_close();

eeL

I centered it and added some text
Quoteecho "<CENTER>";
echo 'Recent Member Photos';
include "../gallery/cpmfetch/cpmfetch.php";
$objCpm = new cpm("../gallery/cpmfetch/cpmfetch_config.php");
$objCpm->cpm_viewLastAddedMedia(2,4);
$objCpm->cpm_close();
echo 'View Gallery';
echo "</center>";

Sugandya

Thank you so much for the reply, but I'm still getting an odd error from Load.php:
Fatal error: Cannot instantiate non-existent class: cpm in /home/gzbuxont/public_html/lilytribe/Sources/Load.php(1748) : eval()'d code(35) : eval()'d code on line 4[/quote]
I'm making a php box to do his, too.

Line 4 is "$objCpm = new cpm("../gallery/cpmfetch/cpmfetch_config.php");" Hmm... I'll see if I did something wrong in the config file.

Sugandya


Joachim Müller


vuud

Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco