All links changed from localhost/mysitename/blablabla to www.localhost/blablabla - redirect

My Drupal site was working fine locally. Then I don't know what happened to it. All links changed from localhost/mysitename/blablabla to www.localhost/blablabla. this means that www. appears before any address and mysitename is missing. I didn't change anything in .htaccess or php.ini.
I tested both WampServer and Acuia Dev Desktop as local servers, but no success.
I should mention that I installed a module "jQuery Calendar" before getting this error, but I am not sure if this was the source of problem. Because I restored the database with my online backups (without that module) and removed the module folder from sites/modules. but no success at all.
Any Help?

Hey I found the source of problem. The module had a library in sites/libraries folder. I removed that and everything got on the right track. wish this helps someone in future :)

Related

"Source file could not be read" error when exporting database

I made a draft of a Wordpress website on localhost using XAMPP. I made a database for it using MySQL. I'm ready to upload to BlueHost. I understand that means I need to save the database as a single .sql or .sql.zip file.
I keep getting the "...\UAywaMh-.sql.part could not be saved, because the source file could not be read" when I try to turn the database into an .sql file that I can upload to BlueHost. BlueHost help says that the problem is not on their end. I've tried it in Firefox and Chrome. Chrome says "couldn't download."
I did leave the "New template" and "Existing template" fields blank. Is that it?
I know the name of the database I created and I was able to find it easily in https://localhost/phpmyadmin/ I don't think I have the wrong one.
How do I fix this so I can get my website live? Thanks!
UPDATE: On GitHub, someone described the same problem and said that patch #17447 fixes it, but I can't find the patch anywhere. https://github.com/phpmyadmin/phpmyadmin/issues/17445
UPDATE: A GitHubber responded! Turns out the answer is to update phpMyAdmin to version 5.20 or later! The first time I did this, I couldn't log in, but the trick is to copy over the config.something file!
Posting this so anyone in the future can find the solution.
The problem ended up being fixed by https://github.com/phpmyadmin/phpmyadmin/issues/17445 which was fixed in phpMyAdmin 5.1.4 and 5.2.0. It seems there was a related problem in PHP https://github.com/php/php-src/issues/8218 that caused download issues with some browsers.
Upgrading to the latest phpMyAdmin release was the solution.

Can't access admin panel for a website with CMS Made Simple: Class 'cms_cache_handler' not found

I'm working on setting up and migration of old sites to a new server from Dreamhost. I have 130 sites to migrate. 1 is successful. The version is: 1.12.1
The mods in the first site upgraded well. No problems. Have a procedure to migrate. That being said, the second site, as I followed my own documentation, fails when I try to access /admin/index.php
What I get is this below:
So, this is more informational than code... so please forgive me. I don't understand why CMS MADE SIMPLE is actually not simple.
That seems like an annoying issue. Forgive any repetition but here is what I would check:
that is is 100% functioning on existing server
correct php version 5.4.3+ (5.6+ recommended) on new server
that all files & database are copied fully & without errors
config.php settings are updated for new hosting & database
that .htaccess, php.ini/.user.ini settings are appropriate
check php error log
are there any additional modules installed that may require additional php modules
try more coffee or a nights sleep - both have helped me solve all sorts of issue in the past!
consider posting on CMSMS forum - will get a wider range of CMSMS users/experience and suggestions
Good luck
Chris
Not sure what process you are using. So presuming that the site was working correctly on existing hosting and that the new hosting meets recommended requirements, especially PHP version:
Export database
Zip/Compress all website files into a single file
Copy zipped file to new hosting
Create new database & user with full access
Unzip files and make sure that they are in the right location (probably website root)
CHMOD config.php to 0644 and edit database, username & password settings for new hosting, CHMOD back to 0444
Make sure .htaccess is using correct settings for new hosting
Login to admin and clear cache
Sorry that the instructions are so basic, but the process really is Simple.
Possible issues can occur if:
the PHP version is older than 5.4.3 (5.6+ recommended).
files copied individually using ftp and some are corrupted/not copied.
Apart from that it is pretty straight forward.
Hope it helps

Umbraco & goDaddy| error when trying to work with Umbraco back office

Like the header says I am getting an error when trying to work with Umbraco(6.2.1) back office
This is the error:
I already talked with goDaddy support, they says everything is OK from their side.
I flowed every "tutorial" I could find regarding this.
This is an error I am seeing in Goggle Chrome Console:
I am now clueless about what to do next.
*every help will be much appreciated.
This is the config folder:
This is the -- file -- it self
The error says you have an incorrect TinyMCE configuration. It will be a problem with that component and not the host. There is a [Umbraco support ticket] which suggested this may be fixed in release 6.2, but also a [forum post] where its said this could happen in all versions, when a style-sheet which is registered in the database is deleted.
Are you sure all the files are present in the deployed /config/ folder? Check that there is a /config/tinyMceConfig.config file present.

Problems with Zend

I have downloaded and installed Zend Server community edition. I am on a mac.
I have tried to changed the path in
/usr/local/zend/apache2/conf/httpd.conf
so that it pointed at a test file in my documents folder. However, when I type
http://localhost:10081/test.php
into my browser, I just get 404- page not found.
Any suggestions? I am new to web stuff and don't really know what I'm doing wrong.
You can find step by step directions for setting up your local environment on a mac:
http://www.cmiwebstudio.com/blog/zend-server-ce-for-mac-osx-10-lion/
and some other posts that may also help here:
http://www.cmiwebstudio.com/blog/tag/zend-server-ce/

phpmyadmin blank screen after installing Zend server

I installed LAMP on Ubuntu 12.0.4 LTE. Then I installed phpmyadmin. Everything was good. I used phpadmin to do lots of DB administration....
Then I installed Zend CE server. Now, phpmyadmin throws a blank page. No login screen.
So, I reinstalled my VPS in the same sequence again. No luck. Same behavior.
This time, I installed Apache, Mysql, PHP and Zend server in that order. Then I installed phpmyadmin....Unfortunately, still blank page on phpmyadmin.
Any help?...Thanks in advance.
First, for all those that posted their suggestions to my above issue, thanks!.
Of course, I had to dig deeper into forums and threads to find the specific root cause and solution for this issue.....and after spending few hours...finally, I resolved it!. Thanks to the following bug discussion link on php.net.
https://bugs.php.net/bug.php?id=25876
I tired many suggested fixes there but they didn't help. The suggestion that finally fixed the problem was pasted below ( so that let the credit go to the right owner):
[2011-03-03 12:18 UTC] comments at htmlcompressor dot com
If you are gettin the following error:
"Fatal error: session_start(): Failed to initialize storage module: files (path: ) in...."
Make sure that you have setup the session save path in your php.ini:
session.save_path = "/tmp"
which seems to be disabled by default.
I swear using Open Source software is tough!. I have spent whole day on this issue alone. My goal was to build some software and I have yet to get to it!!.