Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Navigation
Latest Addons
AD Gallery 67
SyntaxHighlighte... 51
Newsletters v4.03 114
Facebook Like Box 135
Newsletters v4.02 60
Metro 173
Facebook Connect 174
Shoutbox Panel 130
Redactor for PHP... 107
MI Floating Side... 109
Facebook Login/R... 156
Avatar Studio v2.03 180
Relationship Sta... 98
Sexual Orientati... 116
Fisherman 144
Popular Addons
iTheme2 5808
Arise 5808
User Control v1.23 4623
Event Calendar 4055
Photowidget panel 3889
Radio-Theme red2... 3360
Highslide Gallery 3315
CSS/JavaScript D... 3234
Facebook Connect... 2992
Dynamic Menu 2895
Slideshow Lightb... 2729
L-AMANT 2662
Enigma 2637
2Dark 2608
Black 2580
View Thread
Who is here? 1 guest(s)
 Print Thread
Mods Issue(error)please help
Revive
Hi

For the first I like to appologize for my english its not my natural lang.
Also I like to say that I am running my first site,so I am not some kind of PRO.

Issue:
1.I decided to move my site from free webhosting to profi.(different provider)
2.Since I vas unable to transport mysql DB thanks to unicodes(latin2 to utf8),I maked a fresh new instalation of php and connected with fresh new MYSQL DB.Everything ok in DB and also on my new site.Until...
3.I need to instal some mods like custom contact for example,so I install it in php,everything green and ok,like on my old site.But when I go to mod trough modifications and click on it shows me that table in mysql doesnt exists.So mod didnt create the tabs.
And I get bug report in reports.
4.here it is:
Table 'd20470_ally.fusion524nB_contact_settings' doesn't exist

Bug report telling me that I have to go in maincore php on line 233 but I have no idea what changes I have to made to make this work.
mysql_fetch_assoc() expects parameter 1 to be resource, boolean given Line: 233

227 function dbrows($query) {
228 $result = @mysql_num_rows($query);
229 return $result;
230 }
231
232 function dbarray($query) {
233 $result = @mysql_fetch_assoc($query);
234 if (!$result) {
235 echo mysql_error();
236 return false;
237 } else {
238 return $result;
239 }
240 }
241
242 function dbarraynum($query) {


5.I already three times completly reinstaled php fusion and mysql,tryed change stuff in best I can do and still nothing.So I diceded to make one more new fresh install and wait if someone can help me.

6.Its wired that on free webhosting it runs automatickly without any prob.
And on profi hosting it giving me a hard time.

7.Also I noticed that modification included in php shoutbox runs absolutely ok when I install it and normaly make tables in mysql DB.
But when I download some mod its imposible to make it run.I tryed more mods and still same fault.I can create tab manualy in mysql but that is not solution for me,since I doesnt understand properly some atributes there and I cant create all tabs in all mods I need.

Any help with this issue will be a great.I am stuck on it 3 days already.

Many Thanks.... With My Kindest Regards Revive
 
JoiNNN
Open infusion.php from the folder of the infusion you are trying to infuse, search for TYPE=MyISAM and replace with ENGINE=MyISAM
 
http://github.com/JoiNNN
Revive
Hi

OMG its working just fine Grin
I really appreciate your help man.
It was been so easy...and on other forums they was given me so hard instructions.
I must look like stupid but I really dont know much about programing like that.

SOLVED BY ADMIN JoiNNN !Perfect work.Thank you.

My Kindest Regards Smile
 
skpacman
Just for reference: MySQL Bug Report #17501

In MySQL starting at v4.1 they depreciated and ultimately removed the TYPE identifier for table editing and creation.

MySQL's rationale behind it seems a bit dodgy, but I suppose it's for ease of implementation in later releases.

Unfortunately, a large number of the current PHP-Fusion addons use TYPE for table creations for infusions instead of ENGINE due to the date they were created.

I've made it a habit to check infusion.php for TYPE before installing in order to avoid those table errors.

BTW - Welcome to the PHP-Fusion community, Revive
 
http://www.php-fusion.us
PolarFox
Unfortunately, a large number of the current PHP-Fusion addons use TYPE for table
because the PF 7 example package contain this identifier.
 
http://unlogic.info
skpacman
I'll correct that on the download on my site. Should add a note in the documentation in that package that mentions the difference between TYPE and ENGINE
 
http://www.php-fusion.us
Jump to Forum:
Similar Threads
Thread Forum Replies Last Post
HighSlide Gallery Error Panels and Infusions 1 17-05-2013 21:58
Need help with SQL Syntax error after update Upgrading issues 8 17-05-2013 09:13
facebook mods? Content Administration 2 28-04-2013 15:46
Error after editing profile Panels and Infusions 8 21-04-2013 19:21
Shoutbox Error Suspected Bugs and Errors 3 19-04-2013 12:22
Official Home of PHP-Fusion uses cookies. Some may already have been set. Read more about our Cookies here.
Please click the button I Consent Cookies to hide this bar and accept our cookies. If you continue to use the site with no action taken, we'll assume that you consent our cookies anyway.
Cookiebar Panel byVenue