1 |
Try to locate the first line in a php script which triggers the error |
2 |
and use /usr/bin/mysql tool to either test connection parameters or |
3 |
the query in question. You can also turn on MySQL query log. |
4 |
|
5 |
> Yes, everything installs fine with Typo3. At least it looks like it. |
6 |
> Only thing is that after the installation routine I get the error messages. |
7 |
> |
8 |
> 2006/1/5, Alexander Kirillov < nevis2us@××××××××.su |
9 |
> <mailto:nevis2us@××××××××.su>>: |
10 |
> |
11 |
> > I'm installing Apach2, Mysql 5.0.18 and PHP 5 on my laptop for a |
12 |
> project. |
13 |
> > However, when I install the main CMS system (Typo3 4.0) I keep |
14 |
> getting |
15 |
> > various |
16 |
> > |
17 |
> > supplied argument is not a valid MySQL result resource |
18 |
> > |
19 |
> > So I did a test page to see that PHP was actually emerged with the |
20 |
> > correct USE flags |
21 |
> > |
22 |
> > '--with-mysql=/usr/lib/mysql' |
23 |
> > '--with-mysql-sock=/var/run/mysqld/mysqld.sock' |
24 |
> > |
25 |
> > And did a check that I have the socket in the correct place |
26 |
> > |
27 |
> > martoni@SuicidalPuppy ~ $ ls -l /var/run/mysqld/mysqld.sock |
28 |
> > 'srwxrwxrwx 1 mysql mysql 0 Jan 3 05:35 /var/run/mysqld/mysqld.sock |
29 |
> > martoni@SuicidalPuppy ~ $ |
30 |
> > |
31 |
> > I've tried with PHP4 and PHP5, with MySQL 4.x and 5.x |
32 |
> > |
33 |
> > I still can't get the system up. And the code is valid, as others are |
34 |
> > running the beta code, and I had a Typo3 system |
35 |
> > before my forced reinstallation. |
36 |
> > |
37 |
> > I've read contless articles on Gentoo and Typo3 forums/lists but |
38 |
> still... |
39 |
> > |
40 |
> > Any suggestions how to get past this? |
41 |
> |
42 |
> There should be enough information in PHP and MySQL logs |
43 |
> to troubleshoot problems of this sort. Don't know anything about Typo3 |
44 |
> but an app of this kind should come with a script which creates |
45 |
> databases, tables, users and grants privileges needed. |
46 |
> So I'd suggest to stop playing with PHP and MySQL versions - |
47 |
> they're pretty much backward compatible and dig into Typo3-related |
48 |
> issues. |
49 |
|
50 |
-- |
51 |
gentoo-user@g.o mailing list |