Google
Free Ads
Ads United Kingdom
Ads Deutschland
Ads France
Ads Brasil
Ads India
Ads Mexico
Ads Argentina
Ads Österreich
Ads Belgique
Ads Chile
Ads Venezuela
Main Menu
HomeDictionaryFreeadsNewsViso - Industry BookDownloadsWeb LinksForumTutorialsPicture galleryNewsletterFAQRSS/XMLPartner SitesInformation
Information

Webmasters
Philippe 
frank 
ralph 

CMS - Content Management : Modules

Recommend Us

Recent Section Articles
 · Part 3 - Password Protect..
 · Part 1 - Introduction
 · Part 2 - .htaccess Comman..
 · test Article 4 this
 • Propaganda I


Welcome to CMS - Content Management : Modules Forum.
/  Forum Index
   /  Modules
/  PHP 5 and MySQL 5 compatible?
Print Topic 
PHP 5 and MySQL 5 compatible?
Print Topic  Email Topic  
Newest first Threaded 

raska PHP 5 and MySQL 5 compatible?

Just popping in


Joined: 2007/6/18
Posts: 8
From:




 Level: 1
0 / 19
177 / 177
7 / 9
Ï just ask this because I installed E-Xoops 1.05 in a server using PHP 5 and it simply doesn't works. So I am wondering if eXV2 is able to run under PHP5 and MySQL 5

And I talked about MySQL too, because I am having an small issue with the forums block in old E-Xoops. If I select the option to show the block under MySQL 5 (not in 4 version), I just get this error:

Code:
ERROR
Error Number: 2 [Warning]
Error message: mysql_num_rows(): supplied argument is not a valid MySQL result resource
To file: /home/pedro/public_html/class/database/mysql.php
To line 106


This error is generated by the code in newbb/blocks/newbb_new.php generating this SELECT:


Code:
SELECT p.uid, p.topic_id, p.forum_id, p.post_time, p.icon, t.topic_title, t.topic_views, t.topic_replies, f.forum_name FROM e_xoops_bb_posts p, e_xoops_bb_forums f INNER JOIN e_xoops_bb_topics t ON t.topic_last_post_id = p.post_id LEFT JOIN e_xoops_bb_forum_access a ON a.user_id IN(2) WHERE f.forum_id = t.forum_id AND ((f.forum_type = 0) OR (a.forum_id = f.forum_id)) GROUP BY p.topic_id ORDER BY t.topic_time DESC LIMIT 0,5


This same consult works great under MySQL 4.0 but using MySQL 5.0 I got the error in mysql_num_rows function giving 0 as result.
So I wonder if this query is not full compatible with the last MySQL 5.0 version

Any ideas?

luis aka raska

[ Edited by raska on 2007/6/28 1:49 ]
»2007/6/27 23:38 Profile Visit website

frank Re: PHP 5 and MySQL 5 compatible?

Webmaster


Joined: 2005/7/12
Posts: 246
From: Berlin




 Level: 14
0 / 451
472 / 472
22 / 33
Hi Luis, I run on my dev server PHP Version 5.2.1 and MySQL 5.0.33.

--
A Developer and Webdesigner
powered by http://www.i-s-o.org
References: http://webdesign.i-s-o.org/sites/Verschiedenes/Referenzen/index.html
»2007/6/28 20:06 Profile Visit website

raska Re: PHP 5 and MySQL 5 compatible?

Just popping in


Joined: 2007/6/18
Posts: 8
From:




 Level: 1
0 / 19
177 / 177
7 / 9
Quote:


frank wrote:
Hi Luis, I run on my dev server PHP Version 5.2.1 and MySQL 5.0.33.


Great to know Very Happy My hoster only have 3 or 4 machines running php4 yet, so I imagine he will soon migrate all to PHP 5 and then my old E-Xoops will got fucked Very Happy

About the mysql_num_rows error in MySQL 5... any clue?

Cya
luis
»2007/6/29 2:29 Profile Visit website

frank Re: PHP 5 and MySQL 5 compatible?

Webmaster


Joined: 2005/7/12
Posts: 246
From: Berlin




 Level: 14
0 / 451
472 / 472
22 / 33
One solution is to make a update to version 2.043. It runs under PHP Version 5.2.1 and MySQL 5.0.33. But make a backup for sure...

Other good way is to look here:
http://dev.mysql.com/doc/refman/5.0/en/upgrading-from-4-1.html

I have here for tests a old e-xoops 1.5 Rev3. It dont works too Wink

[ Edited by frank on 2007/6/30 10:54 ]

--
A Developer and Webdesigner
powered by http://www.i-s-o.org
References: http://webdesign.i-s-o.org/sites/Verschiedenes/Referenzen/index.html
»2007/6/29 22:52 Profile Visit website

raska Re: PHP 5 and MySQL 5 compatible?

Just popping in


Joined: 2007/6/18
Posts: 8
From:




 Level: 1
0 / 19
177 / 177
7 / 9
Thanks for all your info. As the change into my server to php 5 will not be inmediatelly, I think I will make a new site in another folder in my free time. I will test eXV2 to see if I can transfer all the data properly without loose too much time. No hurry to that, my server still will have php4 until the end of the year I guess. Very Happy

Thabks again and have a nice day

[ Edited by raska on 2007/7/2 0:16 ]
»2007/7/2 0:16 Profile Visit website

frank Re: PHP 5 and MySQL 5 compatible?

Webmaster


Joined: 2005/7/12
Posts: 246
From: Berlin




 Level: 14
0 / 451
472 / 472
22 / 33
I think we will solve this problem soon, but on time i am working on a private books module with a Amazon REST connection. I hOpe i can use it next week here Wink

--
A Developer and Webdesigner
powered by http://www.i-s-o.org
References: http://webdesign.i-s-o.org/sites/Verschiedenes/Referenzen/index.html
»2007/7/2 20:51 Profile Visit website

raska Re: PHP 5 and MySQL 5 compatible?

Just popping in


Joined: 2007/6/18
Posts: 8
From:




 Level: 1
0 / 19
177 / 177
7 / 9
That sounds great Very Happy We will see what you made.

Btw I already solved the issue. Dunno what the problem was, but playing with some runcms old version and a bit from here and there, I already have all working. Smile
»2007/7/3 22:33 Profile Visit website
Print Topic 
«  Previous Topic  |  Next Topic  »


Users Online

Users Online: 2 Users are browsing this forum
In total there are 2 users online. [ Administrator ] [ Moderator ]
2 Anonymous Users
0 Registered Users:

Permissions

You cannot post.
You cannot edit.
You cannot add polls.
You cannot attach files.
You cannot reply.
You cannot delete.
You cannot vote.
/  Forum Index
   /  Modules
/  PHP 5 and MySQL 5 compatible?

 • Propaganda II



Search
Language
DeutschEnglishFrench
Recent Comments
 ·eXV2.org is forked
  I'm already in outs
 ·2.04 Viso - Indust
  This is a test comm
 ·FCKeditor File Upl
  ExV2 did not use fi
Recent Downloads
Download Now! Yellow Pages Module
Sorry, you dont have the permission to perform this action. Database: UML Sheet topic..
Sorry, you dont have the permission to perform this action. E-Xoops language defines ..
Sorry, you dont have the permission to perform this action. E-Xoops Function Referenc..
Sorry, you dont have the permission to perform this action. E-Xoops Function Referenc..
Sorry, you dont have the permission to perform this action. E-Xoops Function Referenc..
Sorry, you dont have the permission to perform this action. E-Xoops defines
Sorry, you dont have the permission to perform this action. E-Xoops Database Relation..
Sorry, you dont have the permission to perform this action. E-Xoops Data Dictionary
Sorry, you dont have the permission to perform this action. E-Xoops mainfile.php
Dictionary
PHP: PHP Hypertext Preprocessor is a server-side, HTML embedded scripting language used to create dynamic Web pages.In an HTML document, PHP script (similar syntax to that of Perl or C) is enclosed within special PHP tags.Because PHP is embedded within ...
Login
Nickname

Password


Lost Password?

Don't have an account?
Register ?
powered by AdSense
bamaGalerie3

Category: Package II Rencontres Mondiales du Logiciel Libre
more pictures
Recent Links
Partners

http://sourceforge.net/projects/exv2/

http://www.i-s-o.com

http://www.e-xoopsfr.com

http://www.rss-scout.de

http://www.picktools.de

http://www.crawltrack.fr/

http://www.stapeliaart.de