Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

infusions don't install in db

Asked Modified Viewed 3,424 times
M
MeTRoiDLV
M
  • Newbie, joined since
  • Contributed 4 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions
asked
Newbie

Hi, i use latest php fusion, i installed it.. Here is steps what i did..
1. Install php fusions all is grate.
2. Download some infusions
3. install some infusions.
4. They didn't install :o
..
The problem is all infusions that i try to install don't install, they install them self's in infusion table in db, but they don't create new db for them self's.
[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]Table 'smuth.fusion5fmvn_book_settings' doesn't exist[/syntaxhighlighter]
I tried to use wamp and xampp servers both latest i think, i even tried install all from start [fresh]..
but still they don't create db for them self's..
I tried to instal infusions for 7v, even for 7.02.xx but still the same..
Only shoutbox worked..
0 replies

5 posts

S
Samuel MS
S
I'm not good at English.
  • Member, joined since
  • Contributed 70 posts on the community forums.
  • Started 21 threads in the forums
answered
Member

Try to enable or add your infusion at admin panel
0 replies
N
NetriX
N
NetriX 10
Need help? Having trouble?
» View our Documentation for guides, functions and more - including the Getting Started section!
» Attach Log Files and Screenshots when reporting issues
» My support days are usually Mon-Thurs. Send me a PM if urgent.
  • Senior Member, joined since
  • Contributed 566 posts on the community forums.
  • Started 93 threads in the forums
answered
Senior Member

Post the contents located within the infusion.php file.

This often happens when upgrading infusions and/or infusing because of the coding standard not being correct.

Thanks,
NetriX
0 replies
M
MeTRoiDLV
M
  • Newbie, joined since
  • Contributed 4 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions
answered
Newbie

MST - i tried, nothing.
For example, but i could post here some 10 that i tried.. Only shoutbox worked.
[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]<?php
/*---------------------------------------------------+
| PHPFusion 7 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2008 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit http://gnu.org
+----------------------------------------------------+
| Coding by BadBoy aka GoogleDude
| Email: webmaster@googlecityfourms.com
| Support: http://www.googlecityforums.com
+----------------------------------------------------+
| Original Coding developed by CrappoMan
| email: simonpatterson@dsl.pipex.com
+----------------------------------------------------*/

if (!defined("IN_FUSION"wink) { die("Access Denied"wink; }

include INFUSIONS."videogallery/infusion_db.php";

include LOCALE.LOCALESET."videogallery.php";

// Infusion general information
$inf_title = $locale['500'];
$inf_description = $locale['501'];
$inf_version = "2.0";
$inf_developer = "BadBoy";
$inf_email = "webmaster@googlecityforums.com";
$inf_weburl = "http://www.googlecityforums.com";

$inf_folder = "videogallery"; // The folder in which the infusion resides.



// Delete any items not required here.

$inf_newtable[1] = DB_VIDEO_ALBUMS." (
album_id SMALLINT(5) UNSIGNED NOT NULL AUTO_INCREMENT,
album_title VARCHAR(100) NOT NULL DEFAULT '',
album_description TEXT NOT NULL,
album_thumb VARCHAR(100) NOT NULL DEFAULT '',
album_user SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
album_access SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
album_order SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
album_datestamp INT(10) UNSIGNED NOT NULL DEFAULT '0',
PRIMARY KEY (album_id)
) TYPE=MyISAM;";

$inf_newtable[2] = DB_VIDEOS." (
video_id SMALLINT(5) UNSIGNED NOT NULL AUTO_INCREMENT,
album_id SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
video_title VARCHAR(100) NOT NULL DEFAULT '',
video_description TEXT NOT NULL,
video_filename VARCHAR(100) NOT NULL DEFAULT '',
video_thumb1 VARCHAR(100) NOT NULL DEFAULT '',
video_thumb2 VARCHAR(100) NOT NULL DEFAULT '',
video_datestamp INT(10) UNSIGNED NOT NULL DEFAULT '0',
video_user SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
video_views SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
video_order SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
video_allow_comments tinyint(1) unsigned NOT NULL default '1',
video_allow_ratings tinyint(1) unsigned NOT NULL default '1',
video_video VARCHAR(200) NOT NULL DEFAULT '',
PRIMARY KEY (video_id)
) TYPE=MyISAM;";

$inf_droptable[1] = DB_VIDEO_ALBUMS;
$inf_droptable[2] = DB_VIDEOS;

$inf_insertdbrow[1] = "inf_settings ( name , value )VALUES ('video_albums', '1'wink";
$inf_insertdbrow[2] = "inf_settings ( name , value )VALUES ('videos', '1'wink";
$inf_insertdbrow[3] = "inf_settings ( name , value )VALUES ('videos_allow_comments', '1'wink";
$inf_insertdbrow[4] = "inf_settings ( name , value )VALUES ('videos_allow_vote', '1'wink";

$inf_deldbrow[1] = "inf_settings WHERE name = 'videos_albums' LIMIT 1;";
$inf_deldbrow[2] = "inf_settings WHERE name = 'videos_allow_comments' LIMIT 1;";
$inf_deldbrow[3] = "inf_settings WHERE name = 'videos_allow_vote' LIMIT 1;";
$inf_deldbrow[4] = "comments WHERE comment_type = 'V';";
$inf_deldbrow[5] = "ratings WHERE rating_type = 'V';";

$inf_adminpanel[1] = array(
"title" => $locale['500'],
"image" => "videogallery.jpg",
"panel" => "videoalbums.php",
"rights" => "VG"
);

?>[/syntaxhighlighter]
0 replies
S
SiteMaster
S
If i have touched it, it's W3C Valid
  • Senior Member, joined since
  • Contributed 305 posts on the community forums.
  • Started 15 threads in the forums
answered
Senior Member

TYPE= has been depreciated.

change line 68 and 86
from TYPE=MyISAM
to ENGINE=MyISAM
0 replies
M
MeTRoiDLV
M
  • Newbie, joined since
  • Contributed 4 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions
answered
Newbie

Thanks a lot. We can close this now.. And thanks. ;)
0 replies

Category Forum

Panels and Infusions

Labels

None yet

Statistics

  • Views 0 views
  • Posts 5 posts
  • Votes 0 votes
  • Topic users 4 members

4 participants

N
N
NetriX 10
Need help? Having trouble?
» View our Documentation for guides, functions and more - including the Getting Started section!
» Attach Log Files and Screenshots when reporting issues
» My support days are usually Mon-Thurs. Send me a PM if urgent.
  • Senior Member, joined since
  • Contributed 566 posts on the community forums.
  • Started 93 threads in the forums
S
S
If i have touched it, it's W3C Valid
  • Senior Member, joined since
  • Contributed 305 posts on the community forums.
  • Started 15 threads in the forums
S
S
I'm not good at English.
  • Member, joined since
  • Contributed 70 posts on the community forums.
  • Started 21 threads in the forums
M
M
  • Newbie, joined since
  • Contributed 4 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet