BOARDS

planetluc.com discussion board

all about the planetlu.com scripts

You are not logged in.

Announcement

I had to clean the boards due to massive spam. Actually i deleted everything /-one after 1st Oct 2008. It was the only way to get this spam out of the boards. So i'm sorry for all serious users who registered/posted meanwhile.

#1 13-04-2007 19:38:16

biffa98
Member
Registered: 13-04-2007
Posts: 10

usage problem

Hi all,

Have managed to get my isp to sort me out with a mysql database and then ran the install php and all as far as i could see went ok.

However when i go to the index page as the link below it doesnt seem to be right
http://www.rtsm.co.uk/peanuts/rate/index.php

Can any one give me any pointers or advice an idea of what may be wrong

Many thanks
Biffa98

Offline

 

#2 14-04-2007 12:13:10

admin
Administrator
From: Winterhur, Zurich, Switzerland
Registered: 25-11-2004
Posts: 462
Website

Re: usage problem

where's the rateme stuff in? in the same folder /peanuts/rate/?

Probably you did set the $pathtoscript variable wrong. What di you set it to?

Offline

 

#3 14-04-2007 20:34:01

biffa98
Member
Registered: 13-04-2007
Posts: 10

Re: usage problem

Hi

I have it in the smae folder and the path is set to $pathtoscript="rate/";   

Many thanks

Biffa98

Offline

 

#4 15-04-2007 10:52:33

admin
Administrator
From: Winterhur, Zurich, Switzerland
Registered: 25-11-2004
Posts: 462
Website

Re: usage problem

try it with $pathtoscript="";
;-)

Offline

 

#5 15-04-2007 14:17:59

biffa98
Member
Registered: 13-04-2007
Posts: 10

Re: usage problem

Hi

Many thanks for the pointer i made the changes and it made no difference however on this one

www.rtsm.co.uk/rate/index.php

it has but still an error shows as the following
Warning: getimagesize(rate/images/1.jpg): failed to open stream: No such file or directory in /home/users/ftponly/rtsm/rtsm/public_html/rate/showitem.inc.php on line 113

Sorry for being a pain my knowledge of php is very limited sadly.

Biffa98

Offline

 

#6 15-04-2007 15:29:54

admin
Administrator
From: Winterhur, Zurich, Switzerland
Registered: 25-11-2004
Posts: 462
Website

Re: usage problem

just delete the existing item in the admin panel and upload a new one.

Offline

 

#7 15-04-2007 18:51:52

biffa98
Member
Registered: 13-04-2007
Posts: 10

Re: usage problem

Hi

I have tried as suggested and all it does is fire me back to the login screen and nothing is deleted.

I have also played around and i nor any others can add pictures either.

please feel free to have a play around with the site to see if anything becomes any clearer.

Many thanks

Biffa98

Offline

 

#8 16-04-2007 09:22:44

admin
Administrator
From: Winterhur, Zurich, Switzerland
Registered: 25-11-2004
Posts: 462
Website

Re: usage problem

the site seems to be down at the moment?! Which ist the file where you have the RateMe script included in?

1)   /rate/index.php
or
2)   /peanuts/rate/index.php
?

for case 1 $pathtoscript="rate/";
for case 2 $pathtoscript="";

Offline

 

#9 16-04-2007 11:38:05

biffa98
Member
Registered: 13-04-2007
Posts: 10

Re: usage problem

Hi

The site has finally reappeared this morning.

I have two copies of the complete file one in /rate/
and the other in peanuts/rate/

If i set the path to "" on the first this happens

http://www.rtsm.co.uk/rate/index.php

It seems not to matter what i set the path on the other it comes up as before
http://www.rtsm.co.uk/peanuts/rate/index.php

there are two complete copies of the files as they arrived to us one is in rate/ folder the other is in peanuts/rate the first however is colser to a working version than the second.

Cheers

Biffa98

Offline

 

#10 16-04-2007 12:17:26

admin
Administrator
From: Winterhur, Zurich, Switzerland
Registered: 25-11-2004
Posts: 462
Website

Re: usage problem

please decide which install we should discuss here. then  post your file structure and the config file.

Offline

 

#11 16-04-2007 12:37:19

biffa98
Member
Registered: 13-04-2007
Posts: 10

Re: usage problem

Hi

This is what i have all files and the folder images and lang are in a directory called rate and the address is www.rtsm.co.uk/rate/

the config file looks like this the index script for it is here www.rtsm.co.uk/index.php



// MySQL Settings
$dbhost="localhost";                // if you don't know the mysql settings ask your server admin
$dbname="*";   
$dbuser="*";
$dbpass="*";
$prefix="voting_";                    // table prefix
$dbtable="items";                    // table name of the main taable
$dbtable_cookies="cookies";            // table name of the logging table
$dbtable_comments="comments";        // table name of the comments taable


// misc other settings
$sitename="Peanutsmuggling.co.uk";                // the name of your website
$siteurl="http://www.peanutsmuggling.co.uk/";    // the url of your site
$mailadmin="info@peanutsmuggling.co.uk";        // admin's mail address
$cookielogging=true;                // either the script prevents from doublevoting by using cookies or...
$iplogging=false;                    // ...ips
$language="en";                        // 'de' for german, 'en' for english
$pathtoscript="";                    // path to the script folder from the file where the script is included (with slash at the end if set!)
                                    // eg if you have an index.php file and the 'rateme' folder on the root dir and you want to include the script in
                                    // this index.php file you have to set $pathtoscript="rateme/";
$cookiename="ratemecookie";            // name of cookie
$expire=20;                            // time in seconds to wait until you can rerate
$commentfloodtime=20;                // time in seconds to wait until you can add a new comment on the same item
$adminname="admin";                    // admin login name
$adminpwd="weekend";                    // admin pass
$adminexpire=60*10;                    // time in seconds until you have to relogin for the adminpanel
$toplist=10;                        // number of items to be listed in top list, 0 for all items
$listtype="avg";                    // Type of the top listing: 'avg' for top averages, 'points' for top points, 'mixed' for average of (average and points)
$addpic=true;                        // 'false' if only admin can add pics
$uploadpic=true;                    // if set true picture is uploaded and saved in the images folder else only path/url to the pic is saved
$maxpicsize=450000;                    // max picture size in bytes
$maxpicwidth=250;                    // width to which pic is shrinked if it's too large
$doapprove=true;                    // if set true surfer is sent an email that his item has to be approved before being listed by the admin.
$notifyadmin=true;                    // if set true admin gets mail when someone submits aa picture that has to be approved
$numoverview=20;                    // number of items shown per page on overview page
$numoverviewrow=3;                    // number of items shown per line on overview page
$showcomments=true;                    // display comments, true=yes, false=no
$numcomments=3;                        // number of comments to show per item
$showstatsonoverview= true;            // display number of votes and average in the overview
$showcontactme=true;                    // show contact me link or not

Many thanks

Biffa98

Last edited by biffa98 (16-04-2007 14:23:59)

Offline

 

#12 16-04-2007 13:14:06

admin
Administrator
From: Winterhur, Zurich, Switzerland
Registered: 25-11-2004
Posts: 462
Website

Re: usage problem

it works all fine for me. i can login do stuff like approve/disapprove, delete items...

Maybe you have to enable cookies for this your site?

Offline

 

#13 16-04-2007 13:36:13

biffa98
Member
Registered: 13-04-2007
Posts: 10

Re: usage problem

Hi

Ok thank you very much for your help I will check our systems out and let you know how it goes.

Biffa98

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson

 
 
© 2003-2010 by planetluc.com · Bachtelstrasse 104 · CH-8400 Winterthur | Support | Login |