News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

I"am getting database Error

Started by forumnepali, May 20, 2010, 11:13:13 AM

Previous topic - Next topic

forumnepali

please find the  attached Error Screen Shot.

lots of Error Showing  'undefined_vars'

http://forumnepali.com/index.php?board=18.08: Undefined index: foroFile: /home/forumnep/public_html/Sources/Subs.php
Line: 4082
http://forumnepali.com/index.php?action=post;topic=1840.0;num_replies=78: Undefined index: foroFile: /home/forumnep/public_html/Sources/Subs.php
Line: 4082

JBlaze

Looks like you are using SQLite. Make sure that the ./tmp directory is CHMOD to at least 755, if not 777 so that SMF can write to the files in that directory.

As for the undefined vars, what mods do you have installed?
Jason Clemons
Former Team Member 2009 - 2012

kat




Gotta love double posts...


I'll delete the other one.

forumnepali


kat

Hmmm... There IS no line 4082.


Must be something else.


Did you try what JB suggested?


QuoteLooks like you are using SQLite. Make sure that the ./tmp directory is CHMOD to at least 755, if not 777 so that SMF can write to the files in that directory.

As for the undefined vars, what mods do you have installed?

forumnepali

Quote from: JBlaze on May 20, 2010, 12:04:23 PM
Looks like you are using SQLite. Make sure that the ./tmp directory is CHMOD to at least 755, if not 777 so that SMF can write to the files in that directory.

As for the undefined vars, what mods do you have installed?

i have recently install SimpleAds mod 

forumnepali

Quote from: Kat on May 20, 2010, 12:30:09 PM
Hmmm... There IS no line 4082.


Must be something else.


Did you try what JB suggested?


QuoteLooks like you are using SQLite. Make sure that the ./tmp directory is CHMOD to at least 755, if not 777 so that SMF can write to the files in that directory.

As for the undefined vars, what mods do you have installed?
no i din'y try coz i do not have that much knolage please suggest me step by step 

kat

Do you have FTP?


If so, look in the same place as where "public_html" directory is (Not inside public_html).


You'll see a directory named "tmp".


Make sure that's read/write enabled.


If you don't have FTP, you can look via your CPanel's File Manager.

forumnepali

Quote from: Kat on May 20, 2010, 12:41:31 PM
Do you have FTP?


If so, look in the same place as where "public_html" directory is (Not inside public_html).


You'll see a directory named "tmp".


Make sure that's read/write enabled.


If you don't have FTP, you can look via your CPanel's File Manager.

Sir can you do for me ? i will provide you my cpanel user name and pass.

kat

Well, I CAN...


I tend to prefer people to try and do things, themselves, first, though.


That way, you learn something. :)


Have a go.


If you can't figure it out, come back and PM me your forum's FTP login details and I'll have a look.


Trust me, on this, though. Try it yourself, first. ;)

forumnepali

here is my temp file permission


kat

Try checking the "Group" one and see if it makes any difference.

forumnepali

Quote from: Kat on May 20, 2010, 01:22:57 PM
Try checking the "Group" one and see if it makes any difference.

i have checked every think in my end but still problem is showing .

now i'am not able to craet any board

and showing this some Critical  Error also


http://forumnepali.com/index.php?action=search2The database value you're trying to insert does not exist: id_search
Function: PlushSearch2File: /home/forumnep/public_html/Sources/Search.php
Line: 1558


kat

Two things to try, then.


Firstly, go to Admin>Forum Maintenance and click "Find and repair any errors.".


If that doesn't help, go to your CPanel. Under the "Databases" section, click on "MYSQL databases".


In the new window, under "Modify Databases" click "Repair DB:" and see what happens.

forumnepali

Quote from: Kat on May 21, 2010, 05:57:49 AM
Two things to try, then.


Firstly, go to Admin>Forum Maintenance and click "Find and repair any errors.".


If that doesn't help, go to your CPanel. Under the "Databases" section, click on "MYSQL databases".


In the new window, under "Modify Databases" click "Repair DB:" and see what happens.
sir i have checked evry think but problem is not slove please check once your end

kat


forumnepali

Quote from: Kat on May 21, 2010, 06:20:56 AM
I just did.


Is it working, now?

yes working fine evry think but still showing those error

Undefined (7)

http://forumnepali.com/index.php?action=post;topic=1268.0;num_replies=138: Undefined index: foroFile: /home/forumnep/public_html/Sources/Subs.php
Line: 4082

kat

It's something to do with adk portal.


Looks like you installed it and had problems.


There are ELEVEN backup files!!!


I can see FIVE for v21, FOUR for v21.2 and two for v2.3.


No wonder you're getting errors...


If you didn't have so many mods, I'd suggest copying files from the install archive over them all...




Apart from errors in the log, is your forum working OK?


If it is, I think it's be best to leave everything as it is.

kat

I don't suppose you took a backup, before installing the portal, did you?

forumnepali

Quote from: Kat on May 21, 2010, 07:17:33 AM
I don't suppose you took a backup, before installing the portal, did you?

yes i'didin't take any backup befor instaling .


Advertisement: