Hi Drupalians,
I tried to install a fresh drupal 6.14 site in the production environment(Apache2.x,PHP 5.1,MYSQL 5.0,Linux) and ends up with multiple errors.I installed it in my local machine and i dont find any problem with the installation it works like a charm.Since it works in my local i hope the problem should be with the hosting side and am not sure about what are settings should be changed in their end to solve the issue.Since am very new to drupal and i dont have much knowledge about the coding part of drupal.Can anyone please help me out in resolving this issue.
Errors are:
* warning: array_fill() [function.array-fill]: Number of elements must be positive in /webcorp1/www/corpusers/a/r/arwincad.com/includes/database.inc on line 253.
* warning: implode() [function.implode]: Invalid arguments passed in /webcorp1/www/corpusers/a/r/arwincad.com/includes/database.inc on line 253.
* warning: array_keys() [function.array-keys]: The first argument should be an array in /webcorp1/www/corpusers/a/r/arwincad.com/modules/user/user.module on line 502.
* user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1 query: SELECT p.perm FROM arwincad_role r INNER JOIN arwincad_permission p ON p.rid = r.rid WHERE r.rid IN () in /webcorp1/www/corpusers/a/r/arwincad.com/modules/user/user.module on line 502.
* warning: array_keys() [function.array-keys]: The first argument should be an array in /webcorp1/www/corpusers/a/r/arwincad.com/modules/block/block.module on line 406.
* warning: array_fill() [function.array-fill]: Number of elements must be positive in /webcorp1/www/corpusers/a/r/arwincad.com/includes/database.inc on line 253.
* warning: implode() [function.implode]: Invalid arguments passed in /webcorp1/www/corpusers/a/r/arwincad.com/includes/database.inc on line 253.
* warning: array_merge() [function.array-merge]: Argument #2 is not an array in /webcorp1/www/corpusers/a/r/arwincad.com/modules/block/block.module on line 407.
* user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') OR r.rid IS NULL) ORDER BY b.region, b.weight, b.module' at line 1 query: SELECT DISTINCT b.* FROM arwincad_blocks b LEFT JOIN arwincad_blocks_roles r ON b.module = r.module AND b.delta = r.delta WHERE b.theme = '' AND b.status = 1 AND (r.rid IN () OR r.rid IS NULL) ORDER BY b.region, b.weight, b.module in /webcorp1/www/corpusers/a/r/arwincad.com/modules/block/block.module on line 407.
Thanks in advance.....
Comments
Help Pls....
Can anyone help me pls.....
Solution!!!!
After a long search i found the solution.This issue raised b'coz my hosting doesn't allow me to override the php_value "session.auto_start" to 0 from my .htaccess file.Once it is turned off from the hosting side everything works well.I think this might help someone and save their time....
There is an error in the
There is an error in the .htaccess file supplied in Drupal 6.14. If you overwrite this with your old .htacess file, this problem will disappear.
But I don't dare bring this up as a bug; I tried to point out a bug in Drupal core once before, and I was villified like I had the leprosy, so I won't do it again!
Regards,
Brian
how to make the "session.auto_start" turned off?
thank you for this info.
but i'm a freshmen in drupal,i don't know how to make the "session.auto_start" turned off,
can you tell me?thank you!
Hello friends, I'm getting a
Hello friends,
I'm getting a pageful of following error while running installation script:
Deprecated: Function ereg() is deprecated in C:\wamp\www\drupal-6.14\includes\file.inc on line 902
Can anyone giv me sollution for this error?
Thanx in Advance
Error while running install.php
Hello,
I am also getting similar errors while attempting to install Drupal- 6.14 in Ubuntu 9.04 with a XAMPP for linux version 1.7.2 installation. The error is a page of
"Deprecated: Function ereg() is deprecated in /opt/lampp/htdocs/includes/file.inc on line 902"
with
"Warning: Cannot modify header information - headers already sent by (output started at /opt/lampp/htdocs/includes/file.inc:902) in /opt/lampp/htdocs/includes/install.inc on line 618
Warning: Cannot modify header information - headers already sent by (output started at /opt/lampp/htdocs/includes/file.inc:902) in /opt/lampp/htdocs/includes/install.inc on line 619"
on the last two lines
I had run the security update for the lampp installation before starting the Drupal installation.
Can anyone help?
Thank you and Best Regards
Here is the solution
The cause is PHP version.
Don't use PHP version 5.3, instead use PHP version 5.2.9.2
And you will get no error message.
I am also unable to install vBulletin on PHP version 5.3
I hope this will help you guys.
I work at Drupar.com
installation error
Hi friends,
I am trying to install 6.0 but its through an error which is given below
Deprecated: Function ereg() is deprecated in D:\wamp\www\drupal-6.14\includes\file.inc on line 902
Someone help me please!!!
Thanks
Dev
902 Error
I used this sites directions..Worked to perfection
http://www.hostingformula.info/deprecated-function-ereg-is-deprecated-wh...
SOLUTION--: Function ereg() is deprecated in /opt/lampp/htdocs/i
go to your drupal directory..
you hav to edit drupal\includes\file.inc file a little bit..
open file .inc
search for elseif ($depth >= $min_depth && ereg($mask, $file)) line in that file
edit the above line by
elseif ($depth >= $min_depth && mb_ereg($mask, $file))
your problem is solved..
Yes it was; thank you very much.
I love it when someone's so right and they don't have a Ph.D.
Superb man.. Thanks a lot..
Superb man.. Thanks a lot.. it solved mine too.
but the point is how u figured that out ?? do let me know man.............
Nice!
thanks!
same here, how do you know this stuff?
more power!
install Drupal in local mode
Maybe you did not know you need to install Apache, MySQL and PHP on your PC (computer, computer). This can be done using a single installation package ready and configured as:
AppServ, XAMPP, WAMP, EasyPHP. (used for the manual) This is if you install Drupal in local mode.
x
x
thanks! It worked
thanks! It worked
This could be related as well
This could be related as well to wrong parameters in 'access callback'.
See: http://drupal.org/node/368584
awesome
@techdefine you did gr8 job thankx
warning: array_fill()
warning: array_fill() [function.array-fill]: Number of elements must be positive in E:\arun\senthil\drupal\includes\database.inc on line 253.
warning: implode() [function.implode]: Bad arguments. in E:\arun\senthil\drupal\includes\database.inc on line 253.
warning: array_keys() [function.array-keys]: The first argument should be an array in E:\arun\senthil\drupal\modules\user\user.module on line 513.
user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1 query: SELECT p.perm FROM role r INNER JOIN permission p ON p.rid = r.rid WHERE r.rid IN () in E:\arun\senthil\drupal\modules\user\user.module on line 513.
I am getting this error while installing the new or custom module..I have changed the session.auto_start to off.I dont know what to do...anyone please help me..i am stopped in this area for 1/2 day...kindly help me..thanks in advance