By yogayak on
I've been making silly errors...
I uploaded modules from a different drupal 6 site, thinking it would all work the same.
Now I get:
Fatal error: Call to undefined function: db_placeholders() in /home/studiose/public_html/modules/user/user.module on line 500
deleting that folder only givers birth to a fractal like error sequence as I tried to delete more dirs...
Fatal error: Call to undefined function: user_access() in /home/studiose/public_html/modules/embedfilter/embedfilter.module on line 59
Any suggestions?
Love and Light
Comments
Reinstall now required
Drupal runs on a set number of core modules, some of which can not be disabled or deleted. The undefined call to
db_placeholdersmeans that the core database code/modules has been corrupted/deleted. Effectively meaning that the site can not ever run now.If by some chance you are on windows, (and hiding the fact by using unix paths), restore all of the deleted modules, and then start tidying up the "custom" modules that are present within "sites/all/modules".
You should never have to touch the core root modules that are located in "/home/studiose/public_html/modules"
I would install a fresh copy of D6.2 and install the required modules from there. You should never install or touch anything outside of the "/home/studiose/public_html/sites" folder unless you really know what you are doing.
Sorry for the bad news. :(
Alan Davison
www.caignwebs.com.au
Alan Davison
Thank You!
Glad you are up on the other side of the world... I'll go to bed now knowing what I'm to do :)
No biggy for the re install. I'm sure all the content is still in the database.
The rest will be there (graphics and such)
Love and light
Check the files directory
Just in case you moved the files directory out of sites/all, DO NOT delete this. It contains your graphics, etc.
Considering your case, copy the install directory, cp -R public_html old_public_html , just in case you have themes or customised modules mixed up with the system files. This way you can always backtrack to find a missing theme, etc.
Sweet dreams
Alan Davison
www.caignwebs.com.au
Alan Davison
A little deeper in muck...
Well, I backed up the database and sites directory (all the directories I had not overridden).
I deleted all info (database, user, renamed public to public old)
But now the install looks like it's done correctly in Fantastico but I go:
Install Drupal (3/3)
Warning: fopen(/home/studiose/public_html/fantastico_fileslist.txt) [function.fopen]: failed to open stream: Not a directory in /usr/local/cpanel/3rdparty/fantastico//includes/enc_installation_func.inc.php on line 172
Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/cpanel/3rdparty/fantastico//includes/enc_installation_func.inc.php on line 175
I will try installing Drupal "by hand" next...
love and light
Third party tools may do this differently
Tools like fantastico may install drupal in a sub directory of public, so they may require other non-drupal files in the general public html dir. Rename the folder back to public_html and use fanastico to uninstall then reinstall Drupal using fantastico.
If by some chance you have broken your base hosted environment (as you may have done currently), backup all your files, get your hosting provider to reset to a clean install and start from a fresh clean environment. Without knowing fantastico, I'm guessing that Drupal will be a sub-directory.
You may get more help in the installation forum for setting Drupal up in hosted environments.
Regards
Alan Davison
www.caignwebs.com.au
Alan Davison
why not install manually?
why not install manually? upload all the files via ftp and install via the web installer in drupal.... would make life so much more simple....
http://www.mytechdaily.com
It is optional, but ...
Well if fantactico is broken, you can not install any of the other 50 plus programs ... it depends on the role required for the server.
Alan Davison
www.caignwebs.com.au
Alan Davison
Manual tried... small snag
The old site was Drupal 5 so I ended up trying to install manually.
When asked for the drupal database password I did not know what to answer... (I had backed up the database)
How do I find out what that password was? That seems to be the problem now.
Thank you all for your help.
Love and Light
do this
well since you cant remember the password.... i dont think cpanel stores the passwords anywhere so just create a new db and user(save the password info).... and then dump the backed up db into the new one.... then when using the installer submit the info of the new db and user...
Best Regards,
Dasith.
http://www.mytechdaily.com