TinyPortal

Development => Support => Topic started by: raxavier69 on May 31, 2006, 07:34:08 AM

Title: help plz
Post by: raxavier69 on May 31, 2006, 07:34:08 AM
Refrence: dragox.org or dragox.kpsh.us

okay i cant add anything to shout box, make a new block and i think articles are messed up
Shoutbox:
Duplicate entry '0' for key 1
File: /var/www/vhosts/kpsh.us/subdomains/dragox/httpdocs/Sources/TPmodules.php
Line: 91

Block creation:
Duplicate entry '0' for key 1
File: /var/www/vhosts/kpsh.us/subdomains/dragox/httpdocs/Sources/TPortalAdmin.php
Line: 143

and the articles does it have to start with table or can i start from html ....
Title: Re: help plz
Post by: raxavier69 on June 05, 2006, 05:15:51 AM
does any one know whats the problem?
Title: Re: help plz
Post by: ontap on June 05, 2006, 07:07:14 PM

can you let us know what version of TP/SMF and if any mods are installed.
Title: Re: help plz
Post by: raxavier69 on June 06, 2006, 09:54:25 AM
Powered by SMF 1.1 RC2 | SMF ÂÃ,© 2001-2005, Lewis Media
TinyPortal v0.8.6 ÂÃ,© Bloc

dragox.org

1.     SMF 1.0.7 / 1.1 RC2 Update      1.0       [ Uninstall ]  [ List Files ]  [ Delete ]
2.    Group Moderators    1.3d    [ Uninstall ] [ List Files ] [ Delete ]
3.    Ultimate Shoutbox    1.37    [ Apply Mod ] [ List Files ] [ Delete ]
4.    Group Moderators    0.1    [ List Files ] [ Delete ]
5.    WOW Names    1.0.0    [ Uninstall ] [ List Files ] [ Delete ]
6.    Simple ImageShack    1.2.1    [ Uninstall ] [ List Files ] [ Delete ]
7.    TinyPortal
Title: Re: help plz
Post by: Xarcell on June 06, 2006, 12:50:31 PM
You think maybe group moderators caused teh issue?
Title: Re: help plz
Post by: eldacar on June 06, 2006, 01:52:27 PM
Group Moderators wouldn't have anything to do with it ;)
Unfortunately I don't know what would
Title: Re: help plz
Post by: raxavier69 on June 06, 2006, 08:57:32 PM
should i just redownload the orignal files with smf and tp and overide those files?
Title: Re: help plz
Post by: raxavier69 on June 07, 2006, 01:55:39 AM
i deleted the group mod and still cant make blocks
Title: Re: help plz
Post by: IchBin on June 07, 2006, 02:31:08 AM
Have you tried to run the manual install file to make sure your database is not missing any tables or settings? After doing that I would suggest uploading a fresh set of files and replace your TP files.
Title: Re: help plz
Post by: raxavier69 on June 07, 2006, 02:38:20 AM
i replaced the 4 tp files already and nothing
Title: Re: help plz
Post by: IchBin on June 07, 2006, 03:33:40 AM
Did you run the database file like I asked?

I don't have time to look at your site right now or I would.
Title: Re: help plz
Post by: raxavier69 on June 07, 2006, 04:16:12 AM
    * Upshrink table exists
    * Settings table exists
          o Reset theme changer
          o Updated version to 086
    * Blocks table exists
    * Variables table exists
    * Articles table exists
    * Dlmanager table exists

TinyPortalÂÃ,´s table structure is now installed/updated.
Thank you for trying out TinyPortal.

and still cant make a block
Title: Re: help plz
Post by: G6Cad on June 07, 2006, 08:19:52 AM
There is some post in here some where about this i think. eeek posted about some change needed to be done in the database to get it to work.
Title: Re: help plz
Post by: ontap on June 07, 2006, 09:01:12 AM

can you give a GM a test account so we can see why the blocks wont work?
Title: Re: help plz
Post by: stormlrd on June 07, 2006, 12:10:45 PM
sorry bro im right in the middle of getting sorted after the big move or Id of done been working on it for you. OnTap this one is a weird one, he doesnt have it setup like any smf ive dealt with, mine are ....public_html/site/index.php his is not its i believe httpdocs/site

have you refreshed on any page in his forum? refresh returns you to the main index.php (frontpage) rather than current and if i had a bet Id say it was this that had the problem with not only blocks but other forum functions as well messing up, but Im not sure how to help him fix it.
Title: Re: help plz
Post by: gerrymo on June 07, 2006, 12:23:25 PM
He's not using Framed Forwarding is he? If so, the site will have REAL problems functioning properly. Can we have a link please? (By PM if there is any adult related content).
Title: Re: help plz
Post by: gerrymo on June 07, 2006, 12:29:45 PM
OK. Found the site, and the problem. It looks like using a mix of primary domain, and subdomain would be the cause of some of the problems.

http://dragox.kpsh.us/index.php works as it should. However, http://www.dragox.org does not. There is some confusion going on as to where the site thinks it is. You need to fix your domains.
Title: Re: help plz
Post by: tiochus on June 07, 2006, 12:33:03 PM
I recently had the same problem, my forum was hosted in a linux server, then I changed it to a windows server. I have this error a lot of times, once I restored database and after a lot of coffees and a lot of headaches I noticed that some tables have a filed which is autonumeric, It's a counter, but in the change from linux to windows, these fields got numeric, so the first post I wrote, the system wrote it as number 0 and worked fine, but the second time it tried to write it like 0 again and crashed the system. I had the same problem with articles. Now I don't know wich fields are autonumeric, you should have to see it in a new instalation, but I think it could be the problem.

Good luck.
Title: Re: help plz
Post by: raxavier69 on June 07, 2006, 10:04:55 PM
storm np and the refresh ur using is not the one i am, ur using dragox.org which is forwarded to what i use dragox.kpsh.us
Title: Re: help plz
Post by: raxavier69 on June 07, 2006, 10:06:13 PM
when we changed servers a fresh copy was installed. so this is a fresh one hence the tp i used another one b4.
Title: Re: help plz
Post by: gerrymo on June 07, 2006, 10:14:27 PM
Have you ensured all the paths, etc are correct? Upload and run repair_settings.php
Title: Re: help plz
Post by: raxavier69 on June 07, 2006, 10:16:12 PM
Queryless URLs:
Value not found!    Off (recommended)
On

who should i give a fm account to?
Title: Re: help plz
Post by: raxavier69 on June 07, 2006, 10:18:09 PM
still cant use shoutbox nor blocks
Title: Re: help plz
Post by: gerrymo on June 07, 2006, 10:29:07 PM
Your blocks are showing.
Title: Re: help plz
Post by: raxavier69 on June 07, 2006, 10:31:24 PM
but i cant make any or use the shout box
Title: Re: help plz
Post by: gerrymo on June 07, 2006, 10:35:00 PM
I registered a test account. There is a box opening saying there is a database error. Try downloading a fresh copy of the manual install, and run it. Make sure you run it from the subdomain, and not the primary domain.

http://www.tinyportal.net/smf/index.php?action=tpmod;dl=item101
Title: Re: help plz
Post by: raxavier69 on June 07, 2006, 10:37:06 PM
i did it already. and dragox.org is just the name everything is stored on dragox.kpsh.us
Title: Re: help plz
Post by: raxavier69 on June 07, 2006, 10:52:32 PM
should i give some one an amdin account to tp gm?
Title: Re: help plz
Post by: raxavier69 on June 07, 2006, 11:05:12 PM
test account is now Gm
Title: Re: help plz
Post by: raxavier69 on June 08, 2006, 04:31:00 AM
ive noticed that if i delete the shoutbox entry i can post another but when i do another (2nd) i get the error)? could it be its being entered as 0 then the script cant enter a shout1? if thats so can it be why i cant post any shouts? it thats the case can i enter a shout manually into where ever its being stored as shout1? and if that works cant i do tht for block?
Title: Re: help plz
Post by: gerrymo on June 08, 2006, 09:10:55 AM
"Username Does Not Exist"
Title: Re: help plz
Post by: raxavier69 on June 08, 2006, 06:42:20 PM
i deleted it uz u didnt respond. create a ne wone and tell me ill giv eu admin. or better yet im me on msn or aim or come onto our teamspeak
Title: Re: help plz
Post by: raxavier69 on June 08, 2006, 07:27:06 PM
well now i realize that i cant even add categorys to articles... i cant do anything :(

i am willing the gms here to have temp access to my ftp and admin for the forums just plz help
Title: Re: help plz
Post by: gerrymo on June 08, 2006, 08:06:31 PM
New test account created. Please dont delete it this time. I know very little about databases, so may not be able to help, but I'll take a look when I have time. Thats the best I can do.
Title: Re: help plz
Post by: raxavier69 on June 08, 2006, 08:40:05 PM
account activated and made admin
Title: Re: help plz
Post by: gerrymo on June 08, 2006, 09:07:16 PM
There is something seriously wrong. I cant find what it is, but it seems to be database related, and I dont know enough about that to help.

The site will not allow creation opf new blocks, or new articles. There is also no selection made for "Hide bars when in admin section?", and it wont allow a selection to be made. Some other settings cant be changed on the settings page either.

I'm out of ideas on this one. Please downgrade the Test Account to regular member for now. One of the other team members may be able to use it to help. Sorry I cant.
Title: Re: help plz
Post by: tiochus on June 08, 2006, 09:16:21 PM
Hey, I keep on thinking it could be a database field problem. Could you take a look in phpmyadmin and see if in the next tables you have these "auto-increment" fields:

-smf_tp_variables  field   id
-smf_tp_articles    field   id
-smf_messages     field   id_msg

I had a very similar problem, and I fixed it when I changed this fileds to auto_numeric.

Good luck.
Title: Re: help plz
Post by: raxavier69 on June 08, 2006, 09:22:50 PM
gerry can u do that cuz i have no idea whats his talking about :)
Title: Re: help plz
Post by: gerrymo on June 08, 2006, 09:26:06 PM
Sorry. Databases aint my thing. I dont know what needs done or how to do it.
Title: Re: help plz
Post by: raxavier69 on June 08, 2006, 09:57:31 PM
can some one from the gms plz tell me who i should contact regarding this problem or who deals with data base things?
Title: Re: help plz
Post by: Crip on June 08, 2006, 10:29:11 PM
is your problem you can't create any Blocks?
Title: Re: help plz
Post by: gerrymo on June 08, 2006, 10:30:55 PM
This is some of them. I created a test account. PM me if you want the password Crip (The site owner has OK'd the team to be able to enter admin).

http://www.tinyportal.net/smf/index.php?topic=5413.msg45451#msg45451
Title: Re: help plz
Post by: raxavier69 on June 08, 2006, 10:33:29 PM
once an article, shout, or block has been made i cant create another. it runs into an erro. i think its the count or something
Title: Re: help plz
Post by: Crip on June 08, 2006, 10:41:10 PM
Let me go see it plz?
Title: Re: help plz
Post by: gerrymo on June 08, 2006, 10:43:58 PM
You have a PM.


*Edit: And another. I forgot the URL*
Title: Re: help plz
Post by: raxavier69 on June 09, 2006, 12:01:03 AM
Quote from: tiochus on June 08, 2006, 09:16:21 PM
Hey, I keep on thinking it could be a database field problem. Could you take a look in phpmyadmin and see if in the next tables you have these "auto-increment" fields:

-smf_tp_variables  field   id
-smf_tp_articles    field   id
-smf_messages     field   id_msg

I had a very similar problem, and I fixed it when I changed this fileds to auto_numeric.

Good luck.

where is phpmyadmin cant find it
Title: Re: help plz
Post by: tiochus on June 09, 2006, 08:47:43 AM
Quote from: raxavier69 on June 09, 2006, 12:01:03 AM
Quote from: tiochus on June 08, 2006, 09:16:21 PM
Hey, I keep on thinking it could be a database field problem. Could you take a look in phpmyadmin and see if in the next tables you have these "auto-increment" fields:

-smf_tp_variables  field   id
-smf_tp_articles    field   id
-smf_messages     field   id_msg

I had a very similar problem, and I fixed it when I changed this fileds to auto_numeric.

Good luck.

where is phpmyadmin cant find it
It's a service from the server It's not in TP or SMF. It's what you use to modify and/or change something in the database manually. When you bought your hosting, someone had to give you a link to phpmyadmin. It's something like http://phpmyadmin.your_host_name And you should have your database name, the link to enter phpmyadmin and an username and a password.
This is mine, It's in spanish, but here you can see wath I'm refering to.
In the left, you can see all the tables. I have selected smf_tp_variables table. It contains the shoutbox shouts.
There you can see field id is auto_numeric. If it wasn't, the first shout I do, It would be marked as number 0, no problem. But the second will be 0 again and I would have the error you explain.
It may be another problem, but it "sounds" very "familiar" to me.
Title: Re: help plz
Post by: raxavier69 on June 09, 2006, 09:18:31 AM
i have the database. the smf and every thing is installed onto my directory. theres no such thing as far as im aware of. ill ask my friend but i really dont think i have that. besides its all free :)

eidted its hsoted on ym friends servers and i check all over dont see anything like my php
Title: Re: help plz
Post by: G6Cad on June 09, 2006, 09:35:29 AM
But you have to have some sort of software so you can connect to your database and see the tables, create new databases and other things
Title: Re: help plz
Post by: raxavier69 on June 09, 2006, 09:42:23 AM
through the interface. its not a provider that gives a forum its a clean databas ei installed the smf and tp software onto.
Title: Re: help plz
Post by: tiochus on June 09, 2006, 09:53:49 AM
Is your forum running in your computer or is it in an external server?

That's because you have to have a database running in somewhere and there is a way to acces this database. When you made the smf and tp instalation, it asked you about the name, user and things like this.

If you were running the site form your computer the way to acces it is http://127.0.0.1/mysql/
Title: Re: help plz
Post by: raxavier69 on June 09, 2006, 09:55:06 AM
no its on a server dragox.kpsh.us
Title: Re: help plz
Post by: gerrymo on June 09, 2006, 09:58:23 AM
Try: dragox.kpsh.us/phpmyadmin then.
Title: Re: help plz
Post by: raxavier69 on June 09, 2006, 09:59:18 AM
no such file remember u had the ftp info
Title: Re: help plz
Post by: tiochus on June 09, 2006, 10:28:21 AM
I couldn't find a way to see how to get to a database hosted there, you'd have to ask kpsh.us how to get to the database.
There is another way; as I told you before, when you installed SMF, it asked you about your databse. It's in admin panel, in configurarion, server settings.
There you have all the data you need except the password, which is masked.
Title: Re: help plz
Post by: gerrymo on June 09, 2006, 10:40:40 AM
Quote from: raxavier69 on June 09, 2006, 09:59:18 AM
no such file remember u had the ftp info


No I did not. I only had admin access to the site.

Please contact your host as tiochus suggests. Ask them how to access phpmyadmin (or the system they use for managing databases).
Title: Re: help plz
Post by: Crip on June 09, 2006, 10:53:39 AM
I replaced / his Source's files with new ones.. it changed nothing, the error remains..the guy needs to Delete All -- And start Over! IMHO..
Title: Re: help plz
Post by: gerrymo on June 09, 2006, 10:58:21 AM
I thought that last night. I'd go as far as to delete the entire database (the whole thing [new Db, new name, new Db username, everything]), and make a new one from scratch. Also use fresh files from SMF and TP.

**But this is from a non Db person (it may be able to be fixed, I dunno).**
Title: Re: help plz
Post by: tiochus on June 09, 2006, 11:11:04 AM
Quote from: Crip on June 09, 2006, 10:53:39 AM
I replaced / his Source's files with new ones.. it changed nothing, the error remains..the guy needs to Delete All -- And start Over! IMHO..
Ok, the "system" is Source files + Database. You have replaced all the source files and you still have the error, so the problem must be in the database. It could be anything more, but as I said, I had the same error and It was caused by some fileds which have to auto increment themselves, but they didn't; so the system always tried to save the record with number 0. The first time It's Ok, but the second, third,... It sees that record number 0 exists so give you the error.
Title: Re: help plz
Post by: Crip on June 09, 2006, 11:13:14 AM
i would do that also if it was me..
Title: Re: help plz
Post by: tiochus on June 09, 2006, 11:17:37 AM
Quote from: gerrymo on June 09, 2006, 10:58:21 AM
I thought that last night. I'd go as far as to delete the entire database (the whole thing [new Db, new name, new Db username, everything]), and make a new one from scratch. Also use fresh files from SMF and TP.

**But this is from a non Db person (it may be able to be fixed, I dunno).**
How did you do that?  :o :o
You have told you don't have any way to acces database.
It must be a way to enter to phpmyadmin or a similar software.
It seems to be a paying web hosting so they have to give a way to acces mysql database.
Title: Re: help plz
Post by: gerrymo on June 09, 2006, 11:24:49 AM
Quote from: tiochus on June 09, 2006, 11:17:37 AM
Quote from: gerrymo on June 09, 2006, 10:58:21 AM
I thought that last night. I'd go as far as to delete the entire database (the whole thing [new Db, new name, new Db username, everything]), and make a new one from scratch. Also use fresh files from SMF and TP.

**But this is from a non Db person (it may be able to be fixed, I dunno).**
How did you do that?  :o :o
You have told you don't have any way to acces database.
It must be a way to enter to phpmyadmin or a similar software.
It seems to be a paying web hosting so they have to give a way to acces mysql database.

Read it again my freind. I could see the errors within the site, and could work out from there that it was a Db problem. I didnt need to go into the Db to see it. I still feel that the fault is in the Db, but I'm not sure on how to fix it.
Title: Re: help plz
Post by: Crip on June 09, 2006, 11:29:21 AM
you fix it tiochus --
Title: Re: help plz
Post by: tiochus on June 09, 2006, 11:32:16 AM
Quote from: Crip on June 09, 2006, 11:29:21 AM
you fix it tiochus --
My problem in the past with the database? Yes, I only had to make these fields auto_increment. So the "counter" started working fine.
Title: Re: help plz
Post by: tiochus on June 09, 2006, 11:35:30 AM
Quote
Read it again my freind. I could see the errors within the site, and could work out from there that it was a Db problem. I didnt need to go into the Db to see it. I still feel that the fault is in the Db, but I'm not sure on how to fix it.
Sorry, I haven't read slowly. That's the hurry up life  :laugh: work, work and speed in everything.
By the way I work with databases all the day. I'm something like a programmer and database administrator.
Title: Re: help plz
Post by: gerrymo on June 09, 2006, 11:38:57 AM
No problem. Hopefully once raxavier69 finds the way to access the Db, we'll be able to fix it between us.
Title: Re: help plz
Post by: tiochus on June 09, 2006, 11:51:16 AM
Ok, any help you'd need. Let me know  :up:
Title: Re: help plz
Post by: Crip on June 09, 2006, 12:04:52 PM
I will help if I can. :up:
Title: Re: help plz
Post by: IchBin on June 09, 2006, 01:28:34 PM
I would agree with everyone here. raxavier69, you need to get some type of access to your database. Ask your host/friend.
Title: Re: help plz
Post by: raxavier69 on June 10, 2006, 04:41:35 AM
but i had a different portal system on the same server b4 and no problems. shouts blocks every thing was fine
Title: Re: help plz
Post by: IchBin on June 12, 2006, 05:02:02 AM
That fine, and all this may need is a little tweak in your database and you can probably have the same thing. :) Does your host not have phpMyAdmin?
Title: Re: help plz
Post by: raxavier69 on June 14, 2006, 07:49:55 AM
not as far as i know but ill ask him once he come sback
Title: Re: help plz
Post by: stormlrd on June 14, 2006, 03:30:43 PM
Quote from: raxavier69 on June 14, 2006, 07:49:55 AM
not as far as i know but ill ask him once he come sback

bro without the admin access to the database I couldnt fix this for you im sorry. If you want I can setup a subdomain on my panel or ask my hosting agent to port over your domain onto my account and than we can get this working lickity split so let me know.

PS Ill see if I can sort our image issues with different resolutions tomorrow. I'll do it on my verision first than sort yours out. How are the buttons coming? I liked where they were headed but havnt had a chance to look sense the move. :up:
Title: Re: help plz
Post by: raxavier69 on June 15, 2006, 08:08:24 AM
if u got your stuff hooked up and u can do it i go the new theme in psd aand u can take out the stuff and out in urs like the 3 djs. i did it plain first then added those things. just can u fix the dragox for the dx theme when res is like 1024/-. im home all day tomorrow and next week so we can get the new theme out fast
Title: Re: help plz
Post by: stormlrd on June 15, 2006, 04:36:45 PM
Quote from: raxavier69 on June 15, 2006, 08:08:24 AM
if u got your stuff hooked up and u can do it i go the new theme in psd aand u can take out the stuff and out in urs like the 3 djs. i did it plain first then added those things. just can u fix the dragox for the dx theme when res is like 1024/-. im home all day tomorrow and next week so we can get the new theme out fast

Sounds great bro, Im dealing with a much slower connection but can still do what needs doing lol. I'll try and keep the msn up when i can so drop me a note