| Topic Archived |
View previous topic :: View next topic |
| Author |
Message |
a_silva Newbie


Offline Joined: Jul 21, 2006 Posts: 28 Location: Uppsala / Sweden
|
Posted: Sun Feb 18, 2007 11:39 am Post subject: Don't write to new config.php in includes |
|
Runnin upgrade to 9.1.1, and on step 2 a new config.php-file is created in the includes-folder, i guess for further use in installation.
But there are two problems:
1. I get error as follows:
"Notice: Undefined index: localhost"
(and so on for each variable for login to database, i.e. username, etc).
Then "Saving configuration succeeded" - the new config-file in inludes is created. But empty on variables!
Hence:
2. I get the following error-message on proceeding:
| Quote:: |
On /install.php
While executing query "SHOW VARIABLES"
the following error occured: Access denied for user 'nobody'@'localhost' (using password: NO)
In: /home/psykago/public_html/install.php on line: 82 |
Of course, there are no variables in the new config to use.
I tried modifying the file, but get access denial, as the file was created by the server ...
What can I do to get the installation to put in the variables properly in the config.php-file it creates itself?
Thanks in advance!
a_silva's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) xp/1.3.36Unix/MySQL4.1.19Standard/4.4.2/9.1.2.1
|
|
| Back to top |
|
 |
NanoCaiordo Developer


Offline Joined: Jun 29, 2004 Posts: 4080 Location: Melbourne, AU
|
Posted: Sun Feb 18, 2007 11:47 am Post subject: Re: Don't write to new config.php in includes |
|
remove the just created includes/config.php and restart the installation .. just make sure that you correctly use db username and db password
_________________ .:: I met php the 03 December 2003 :: Unforgettable day! ::.
Linux 64bit / Apache 2.2 / PHP 5.4.9 / MySQL 5.5.22 / v9, v10
Linux 32bit / Apache 2.2 / PHP 5.3.19 / MySQL 5.5.22 / v9, v10
Windows 64bit / IIS 7.5 / PHP 5.3.19 / MySQL 5.5.22 / v9, v10

NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) mixed
|
|
| Back to top |
|
 |
a_silva Newbie


Offline Joined: Jul 21, 2006 Posts: 28 Location: Uppsala / Sweden
|
Posted: Sun Feb 18, 2007 12:07 pm Post subject: Re: Don't write to new config.php in includes |
|
Thank for quick reply!
Well, I'm afraid I have deleted the file, and restarted the installation a few times now ... same same ...
The username and password are correct. The problem seems to be that when the installation is to proceed it has no values to fetch, because the config.php-file is empty on those values (all from host to prefix, through username, etc).
So on step two, and the creation of the new config-file, those values are not written ...
Hm ...
a_silva's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) xp/1.3.36Unix/MySQL4.1.19Standard/4.4.2/9.1.2.1
|
|
| Back to top |
|
 |
NanoCaiordo Developer


Offline Joined: Jun 29, 2004 Posts: 4080 Location: Melbourne, AU
|
Posted: Sun Feb 18, 2007 1:04 pm Post subject: Re: Don't write to new config.php in includes |
|
MySQL or MySQLi extension?
_________________ .:: I met php the 03 December 2003 :: Unforgettable day! ::.
Linux 64bit / Apache 2.2 / PHP 5.4.9 / MySQL 5.5.22 / v9, v10
Linux 32bit / Apache 2.2 / PHP 5.3.19 / MySQL 5.5.22 / v9, v10
Windows 64bit / IIS 7.5 / PHP 5.3.19 / MySQL 5.5.22 / v9, v10

NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) mixed
|
|
| Back to top |
|
 |
a_silva Newbie


Offline Joined: Jul 21, 2006 Posts: 28 Location: Uppsala / Sweden
|
Posted: Sun Feb 18, 2007 1:17 pm Post subject: Re: Don't write to new config.php in includes |
|
MySQL. I have also uploaded the update files in db for 9.1.1, so it should communicate right ...
a_silva's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) xp/1.3.36Unix/MySQL4.1.19Standard/4.4.2/9.1.2.1
|
|
| Back to top |
|
 |
NanoCaiordo Developer


Offline Joined: Jun 29, 2004 Posts: 4080 Location: Melbourne, AU
|
Posted: Sun Feb 18, 2007 1:18 pm Post subject: Re: Don't write to new config.php in includes |
|
Ops missed this part ...
| a_silva wrote: |
1. I get error as follows:
"Notice: Undefined index: localhost"
(and so on for each variable for login to database, i.e. username, etc).
|
Make sure you upload all files please
_________________ .:: I met php the 03 December 2003 :: Unforgettable day! ::.
Linux 64bit / Apache 2.2 / PHP 5.4.9 / MySQL 5.5.22 / v9, v10
Linux 32bit / Apache 2.2 / PHP 5.3.19 / MySQL 5.5.22 / v9, v10
Windows 64bit / IIS 7.5 / PHP 5.3.19 / MySQL 5.5.22 / v9, v10

NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) mixed
|
|
| Back to top |
|
 |
a_silva Newbie


Offline Joined: Jul 21, 2006 Posts: 28 Location: Uppsala / Sweden
|
Posted: Sun Feb 18, 2007 9:00 pm Post subject: Re: Don't write to new config.php in includes |
|
Well, all files are uploaded (including modules, blocks and themes) but no change.
I wrote and uploaded the file myself, and then it worked.
So I proceeded to create the database, and that worked fine, but when the intallation tells me to delete install.php and the install-directory, from there on there is no "Next" och "Proceed"-button ...
So, pointing to index.php or admin.php: blank page ...
Does this have anything to do with my writing the config.php-file myself (note: absolute copy of the one that is created, but filled with variables for connection and login).
I'm sorry if this explanation is a bit shatterad. How important is it to upgrade? I feel like I have no control of how this update evolves ...
a_silva's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) xp/1.3.36Unix/MySQL4.1.19Standard/4.4.2/9.1.2.1
|
|
| Back to top |
|
 |
NanoCaiordo Developer


Offline Joined: Jun 29, 2004 Posts: 4080 Location: Melbourne, AU
|
Posted: Sun Feb 18, 2007 9:14 pm Post subject: Re: Don't write to new config.php in includes |
|
| a_silva wrote: |
| Well, all files are uploaded (including modules, blocks and themes) but no change. |
What about admin, includes, install ....? you need to upgrade all files without skipping one.
_________________ .:: I met php the 03 December 2003 :: Unforgettable day! ::.
Linux 64bit / Apache 2.2 / PHP 5.4.9 / MySQL 5.5.22 / v9, v10
Linux 32bit / Apache 2.2 / PHP 5.3.19 / MySQL 5.5.22 / v9, v10
Windows 64bit / IIS 7.5 / PHP 5.3.19 / MySQL 5.5.22 / v9, v10

NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) mixed
|
|
| Back to top |
|
 |
a_silva Newbie


Offline Joined: Jul 21, 2006 Posts: 28 Location: Uppsala / Sweden
|
Posted: Sun Feb 18, 2007 9:23 pm Post subject: Re: Don't write to new config.php in includes |
|
The only folder I haven't updated is "images". I know, maybe being stubborn there, but I can't imagine that would have anything to do with my problems ...
a_silva's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) xp/1.3.36Unix/MySQL4.1.19Standard/4.4.2/9.1.2.1
|
|
| Back to top |
|
 |
NanoCaiordo Developer


Offline Joined: Jun 29, 2004 Posts: 4080 Location: Melbourne, AU
|
Posted: Sun Feb 18, 2007 9:32 pm Post subject: Re: Don't write to new config.php in includes |
|
blank page meanes that you have adited congi.php with an not utf-8 editor like notepad .... try not to complicating things when they can be very very easy.
Just make sure to upload all files, remove the includes/config.php and hit install.php again then if you have problems we start from there.
Between there is another install/config.php which it doesn't have to be modified at all. The system will use install/config.php as 'template' to build the includes/config.php ... you touch one then you screw the other one.
If you have modified install/config.php make sure to greb a fresh one from DragonflyCMS package.
_________________ .:: I met php the 03 December 2003 :: Unforgettable day! ::.
Linux 64bit / Apache 2.2 / PHP 5.4.9 / MySQL 5.5.22 / v9, v10
Linux 32bit / Apache 2.2 / PHP 5.3.19 / MySQL 5.5.22 / v9, v10
Windows 64bit / IIS 7.5 / PHP 5.3.19 / MySQL 5.5.22 / v9, v10

NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) mixed
|
|
| Back to top |
|
 |
a_silva Newbie


Offline Joined: Jul 21, 2006 Posts: 28 Location: Uppsala / Sweden
|
Posted: Tue Feb 20, 2007 8:39 pm Post subject: Re: Don't write to new config.php in includes |
|
Well, making sure config had the right encoding was enough. But I'm afraid I have tweeked and modified a few things on the old version (9.0.6.1), so the amount of work I'd have to do to run the 9.1.1. is just ... to much right now. I'll be going back to the old one for this community, starting up a new one would be with the new one though.
Thanks for all the help, really appreaciated. It is nice to see that the community is so alive!
a_silva's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) xp/1.3.36Unix/MySQL4.1.19Standard/4.4.2/9.1.2.1
|
|
| Back to top |
|
 |
|
|