Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
migrating vanilla from local machine to live host
vanejilla
New
when migrating to my web hosting live site from my localhost dev machine im getting error thus:
select * from GDN_Permission Permission limit 1 The error occurred on or near: /home/accname/public_html/forumthub/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') {
I notice that all ini files in the cache folder are obviously using the path from my local machine - will changing these paths to the correct path on my server fix this?? or can i delete these cache files? will vanilla create them again if they are not found upon initialisation?
0
Comments
Yes cache files will be recreated on deletion
http://vanillawiki.homebrewforums.net/index.php/Clearing_The_Cache
There was an error rendering this rich post.
@tama
surely the ini files are the files that need removing? other than them there's only the smarty php file?
You can delete the .ini files. It is important to note that Smarty generates php cache files.
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
thanks hgtonight,
i think its actually a permissions problem - the error message:
**Table 'helpsys_vanilladb.GDN_Permission' doesn't exist**
is the clue i blatantly missed