warning: parse_ini_file(modules/aggregator/aggregator.info) [function.parse-ini-file]: failed to open stream: No such file or directory in /home/dealer/public_html/cms/includes/module.inc on line 195.
warning: parse_ini_file(modules/block/block.info) [function.parse-ini-file]: failed to open stream: No such file or directory in /home/dealer/public_html/cms/includes/module.inc on line 195.
warning: parse_ini_file(modules/blog/blog.info) [function.parse-ini-file]: failed to open stream: No such file or directory in /home/dealer/public_html/cms/includes/module.inc on line 195.
warning: parse_ini_file(modules/blogapi/blogapi.info) [function.parse-ini-file]: failed to open stream: No such file or directory in /home/dealer/public_html/cms/includes/module.inc on line 195.
warning: parse_ini_file(modules/book/book.info) [function.parse-ini-file]: failed to open stream: No such file or directory in /home/dealer/public_html/cms/includes/module.inc on line 195.
warning: parse_ini_file(modules/color/color.info) [function.parse-ini-file]: failed to open stream: No such file or directory in /home/dealer/public_html/cms/includes/module.inc on line 195.
warning: parse_ini_file(modules/comment/comment.info) [function.parse-ini-file]: failed to open stream: No such file or directory in /home/dealer/public_html/cms/includes/module.inc on line 195.
Brand new installation and it looks like module.inc is looking for several (way more than listed here) .info files. I couldn;t find another topic on this and have been searching for a while. I am trying to grep for .info files, but no luck so far
Comments
actually the files are there
so it is another problem
Solution
Apparently parse_ini_file does not like relative paths. Starting on line 194 of module.inc you will find the following code;
I commented out line 195 (the offender) and added a new line 195 that includes a prepended ./
That solved the problem and all seems to be peachy.
Fixed, but not elegantly
I had the exact same problem, and his works like a charm, but I can't help wondering if there isn't a better way than messing about in the source code. Maybe there is something wrong with my Apache 2.2 or PHP instalation? Any ideas?
Yes, make sure php
Yes,
make sure php include_path variable has "." (current directory) in it:
or you can set it from .htaccess
-------------------
Matt Jackson
PerfumesPedia - Perfumes Reviews, Fragrance Tips
Same problem - same solution
The above suggestion worked for me.
This seems to be dependent upon server configuration - but, I don't know if it is Apache or PHP. Here are my settings:
MySQL database 4.1.13
PHP 5.1.4
Unicode library PHP Mbstring Extension
Web server Apache/2.0.53 (Unix) PHP/5.1.4
probably a better way is to
probably a better way is to look at what directories are being included in the php.ini file for includes. I added the root directory to my include_path variable in php.ini and my errors went bye bye...
Alternative solution
Right, I have figured it out, it definitely is due to server configuration.
So, what I did was install apache triad. It combines all three elements, Apache, PHP and MySQL.
Solved all the problems.