saeedvanilla
newb
i install vanilla in localhost with wamp and i entered Data entry , configuration , change theme , change locale ,install plugins, change any stuff to give my selection wants and any thing is OK at localhost then i zipped vanilla and export DB for transfer to my host but i uploaded all file in my host and import DB and change config.php for new config of DB and delete all .ini file in cache folder but not worked now come up BONK message :
Bonk
Something funky happened. Please bear with us while we iron out the kinks.
when i see this problem i think my host not support vanilla i install vanilla and all things is worked and OK !!
what changes of my old vanilla (worked in localhost ) is necessary for OK ?
Comments
Enable debug mode in your conf/config.php:
$Configuration['Debug'] = TRUE;Vanilla Forums Senior Developer [GitHub, Twitter, About.me]
- Spam
- Abuse
- Troll
1 • Off Topic Insightful 1Awesome LOL •tim thanks i enabled debug and see problems but hint of debug not correct for example hint me : Table 'DataBaseName.GDN_Permission' doesn't exist but this table exist !! i think $Configuration['Database']['Host'] = 'localhost'; must be with a port number and added localhost:3306 but not worked then i think port of mysql not 3306 and check with telenet > O mydomainname.com 3306 and answered i sure my mysql port is 3306 but if change any port to $Configuration['Database']['Host'] = 'localhost'; debugger hint me : Table 'DataBaseName.GDN_Permission' doesn't exist do you think what happen ???
i maybe change main vanilla file and damage configuration ( but worked in localhost now )! i want to install a new vanilla without any change and edit and then i want insert and overwrite my changes and edits which files and or folder contain my changes and edits for replace ? i install plugins this not important because install easy again but important my CSS , RTL , entered many Categories how to insert this files after install simple vanilla ??
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •try
Don't PM about development, I'm not currently taking on clients.
grep is your friend.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •where is the database relative to the new webhost? still on the same box? maybe try a fully qualified domain name to the database host...
Vanilla Wiki, Tastes Great! 31,000 viewers can't be wrong.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •dear x00 i etered 127.0.0.1:3306 and localhost.mydomain.com:3306 but not answered
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •I corrected my answer
Don't PM about development, I'm not currently taking on clients.
grep is your friend.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •vanilla used PDO connections, if you use localhost it will force unix sockets.
Don't PM about development, I'm not currently taking on clients.
grep is your friend.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •dear hbf i checked and ok
dear x00 if pdo extension not installed in my host in first not worked vanilla
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •vanilla needs PDO.
Don't PM about development, I'm not currently taking on clients.
grep is your friend.
- Spam
- Abuse
- Troll
1 • Off Topic 1Insightful Awesome LOL •i like to draw out little pictures to help me. maybe a diagram of what is installed where? im thinking your new hosting environment is somewhat different from your single box dev environment...
Vanilla Wiki, Tastes Great! 31,000 viewers can't be wrong.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •oh... wait....
debugger hint me : Table 'DataBaseName.GDN_Permission' doesn't exist
this tells me that you are pointing to a database that doesn't have vanilla deployed on it...
one of three things come to mind:
hope that helps.
Vanilla Wiki, Tastes Great! 31,000 viewers can't be wrong.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •x00 i say **IF **pdo extension not installed never worked vanilla but now work vanilla on my host but have problem on debug and vanilla core worked in first that vanilla want to install first check for pdo but i can to install simple vanilla core ( without edit and plugin installation )
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •did you try my corrected config?
Don't PM about development, I'm not currently taking on clients.
grep is your friend.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •x00 yes but no different debug pm :
Fatal Error in Gdn_Database.Query(); Table 'al_5544eere44.GDN_Permission' doesn't exist select * from GDN_Permission Permission limit 1 The error occurred on or near: /home/sunnymad/public_html/library/database/class.database.php
283: $PDOStatement = $this->Connection()->query($Sql);
284: }
285:
286: if ($PDOStatement === FALSE) {
287: trigger_error(ErrorMessage($this->GetPDOErrorMessage($this->Connection()->errorInfo()), $this->ClassName, 'Query', $Sql), E_USER_ERROR);
288: }
289:
290: // Did this query modify data in any way?
291: if ($ReturnType == 'ID') {
Backtrace:
/home/sunnymad/public_html/library/database/class.database.phpPHP::Gdn_ErrorHandler();
[/home/sunnymad/public_html/library/database/class.database.php:287] PHP::trigger_error();
[/home/sunnymad/public_html/library/database/class.sqldriver.php:1650] Gdn_Database->Query();
[/home/sunnymad/public_html/library/database/class.sqldriver.php:676] Gdn_SQLDriver->Query();
[/home/sunnymad/public_html/applications/dashboard/models/class.permissionmodel.php:476] Gdn_SQLDriver->Get();
[/home/sunnymad/public_html/applications/dashboard/models/class.permissionmodel.php:188] PermissionModel->PermissionColumns();
[/home/sunnymad/public_html/applications/dashboard/models/class.usermodel.php:234] PermissionModel->CachePermissions();
[/home/sunnymad/public_html/library/core/class.session.php:318] UserModel->DefinePermissions();
[/home/sunnymad/public_html/library/core/class.auth.php:36] Gdn_Session->Start();
[/home/sunnymad/public_html/bootstrap.php:168] Gdn_Auth->StartAuthenticator();
[/home/sunnymad/public_html/index.php:41] PHP::require_once();
Variables in local scope:
[Sql] 'select * from GDN_Permission Permission limit 1'
[InputParameters] array ( )
[Options] array ( 'ReturnType' => 'DataSet', )
[ReturnType] 'DataSet'
[PDOStatement] false
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •al_5544eere44 has GDN_Permission?, check the case of the table names.
Don't PM about development, I'm not currently taking on clients.
grep is your friend.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •yes al_5544eere44 has GDN_Permission is exist
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Does the database user have full access to the database? This sounds like a bad database config.
Vanilla Forums Senior Developer [GitHub, Twitter, About.me]
- Spam
- Abuse
- Troll
1 • Off Topic 1Insightful Awesome LOL •dears there are not any way i delete all file in my host i think debugger is very simple and young code ! not helped me i install new vanilla and i configuration uppermost and do my installation of localhost the first . i am tired and crazy up maybe many day later i want change my server or my host and my forum growing up and there many data for saving and backup but how to reused back!!!
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Try to do what vanilla is doing. ie. connect to the database with the user you configured for vanilla. "use" the database and do the select:
- Spam
- Abuse
- Troll
1 • Off Topic 1Insightful Awesome LOL •exactly what I was thinking he should do.
and possibly these.
and maybe run an optimize or check for corruption
http://scottlinux.com/2012/06/09/use-mysqlcheck-to-optimize-and-repair-mysql-databases/
using phpmyadin to check for corruption https://my.bluehost.com/cgi/help/496
factoid: Most questions have been previously answered, try the search box first, please provide your Vanilla version Number!
Peregrine's Addons - donations gladly accepted for "successful solutions" and addons - kind of like tipping a waiter at a restaurant
- Spam
- Abuse
- Troll
1 • Off Topic 1Insightful Awesome LOL •i checked DB and Table with a code and its ok ! who is there that to do transfer vanilla to another host or server and or another domain ?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •You want to hire someone to do the transfer for you?
What to do if I get a Bonk Error?
Vanilla Wiki : Join and help edit our Wiki! | View all Vanilla issues on GitHub | Report a new Vanilla issue on GitHub
Deploying a new Forum and adding a Theme | Give thanks to the Vanilla Developers!
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •of course no !!
i mean is nobody ever to do transfer his own vanilla to another host and have a bad happen ?
sorry for my bad English :(
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Usually, people have different issues, each unique. Sometimes they start over. Try a completely new reinstall on the new host.
Did you try luc's suggestion? that is a key to moving forward.
factoid: Most questions have been previously answered, try the search box first, please provide your Vanilla version Number!
Peregrine's Addons - donations gladly accepted for "successful solutions" and addons - kind of like tipping a waiter at a restaurant
- Spam
- Abuse
- Troll
1 • Off Topic 1Insightful Awesome LOL •also cut and this page into a file called phpinf.php and run it and look at the the info related to mysql and pdo and post the information.
do you have any info related to pdo
e.g.
factoid: Most questions have been previously answered, try the search box first, please provide your Vanilla version Number!
Peregrine's Addons - donations gladly accepted for "successful solutions" and addons - kind of like tipping a waiter at a restaurant
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •If you want to make RTL your forum, this pack is for you! (Read the instruction). See Also this page.
I think there's still a problem here: config.php reconfiguration
$Configuration['Database']['Name'] = '{DB_NAME}'; $Configuration['Database']['Host'] = 'localhost'; $Configuration['Database']['User'] = '{USERNAME}'; $Configuration['Database']['Password'] = '{PASSWORD}';Check them again!
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •actually the brackets should not be there on the right side in a working config.php
@saeedvanilla what is your config statement for
$Configuration['Database']['Host']
and
$Configuration['Database']['Name']
factoid: Most questions have been previously answered, try the search box first, please provide your Vanilla version Number!
Peregrine's Addons - donations gladly accepted for "successful solutions" and addons - kind of like tipping a waiter at a restaurant
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •after 2 weeks , in final i resolved my problem
but i know now that mysql is a foo organization
i used wamp on windows platform and mysql on windows , no define for be case sensitive but on linux is correct
i install multiple and multiple vanilla and be come very crazy !
in final i see problem is mysql tables of gdn not GDN and in windows worked because windows not important for case sensitive of Data Read !
in my.ini file i adds "lower_case_table_names=2"
and vanilla worked in my local and if i transfer to my host will worked
is great :D ?
but i think about mysql , why to do this ??? is very foo that in a platform to why not define for case sensitive and you must be define for platform !!
i enter GDN or gdn and i think we not define to how work correct for give data entry
i hope vanilla developer to vision see for this problem of mysql on windows and change GDN to gdn in installation step and worked in windows and linux natively ;)
good success for vanilla developer as dear tod :)
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •this is more a case of windows being 'foo'
Don't PM about development, I'm not currently taking on clients.
grep is your friend.
- Spam
- Abuse
- Troll
1 • Off Topic 1Insightful Awesome LOL •in fact i all over not happy with windows (I LOVE SOLARIS WITH great work of JAVA ! []--- )
but in windows you can do to create "New Folder" and "new folder"
if you type a list of upper case of characters windows give upper case and too for lower case
this problem is not of windows
but mysql have a foo thinking
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •