A question about duplicating Drupal installation on another server - php

I have hired a programmer overseas to develop a Drupal website for me and he has done a very good job (the site is installed at his server). I payed him and he sent me the Drupal files and the database .sql file.
Here is what I have done so far:
1- I have created a database on my server named something different from the database file he has sent me and imported the .sql file with no problem. (naming the database as the one he has used during development is not possible for me)
2- I have uploaded the Drupal files to the root of my domain.
3- I have modified drupal/site/default/settings.php and put my database information there and I have modified the $base_url variable there.
The problem is that when I access the website I get a white screen and nothing else (even when I click on show source on my browser, it is empty).
I tried to do the same on a localhost on both Mac and Windows using MAMP and WAMP respectively, and I got the same result (empty screen)
anybody has any suggestion about what seems to be the problem?
Best Regards,

Its a PHP WSOD error most likely. Do you have a way to check crash logs?

Have you looked at The White Screen of Death? Typically when faced with this issue and unable to quickly find the cause I return to this handbook page to go through the possible causes. Unfortunately this is a common symptom of many different problems and can be difficult to pin down.

if anybody has the same issue. Problem has been solved by adding the following line to the PHP settings.php file:
ini_set('memory_limit', '64M');
Thank you all for the help.

Related

How to deny access to specific document types in LAMP

I am conducting a test run of my concept control web panel project on Centos7 using LAMP. However, I am experiencing a bit of a problem. When I visit http://mywebsiteurl.com/users.db rather than say forbidden or display a blank page. The browser auto downloads the .db file. How can I prevent this from happening. Is there a way to restrict access to files with a particular extension?
Okay so after hours of research, trial and error. I somehow managed to fix my problem using the solution found here:
https://stackoverflow.com/a/5605110/18351396
I just changed the file extension to .db to suit my case.
Thanks everyone, especially CBroe.

php file automatically changed to php.suspected

I've running website on a Linux server. This server runs a lot of website, most of them CMS, mainly WordPress.
And sometimes something renames my files from wp-db.php to wp-db.php.suspected for example.
And my site are goes down.
Has anyone seen such thing before or has an idea what can causes it?
Thank you for your help in advance.
these files sometimes suspected by your hosting provider, or wordfence plugin also it could be to trick you to ignore the files

Running Wordpress repo locally through MAMP. Assets not being pulled in

Currently I am trying to run a Wordpress repo locally for development. I am not using MAMP pro even though I still have a 9 day trail. I figured since I'm going to be using the free version for now I might as well work with that. I have my Apache & MySQL server running along with the Document Root pointing to my Sites folder where my projectName repo sits. I'm still running off of the default port of Apache 8888.
After I start the servers, I open WebStart and import my DB into phpMyAdmin. Everything works perfectly fine and the copy of my db gets imported. I then make sure that my wp-config.php file has the appropriate settings to access this db. I then click on My Website. This pulls up the content of the website. However, it does not pull in any of the assets(imgs/js/css). I receive the following errors in the console:
Failed to load resource: net::ERR_EMPTY_RESPONSE http://projectName.dev/wp-content/uploads/2016/09/logo-footer-1.png
Failed to load resource: net::ERR_EMPTY_RESPONSE http://projectName.dev/wp-content/themes/projectName/images/circle.png
And so the list goes on and on for pretty much every asset the project could possibly have. Now configuration is NOT my strong suit, and at this point I am at a loss of what could possibly be happening. Awhile ago I did follow a tutorial on how to setup my files so that I can access them in the web browser by simply typing the name of the project with the domain .dev, example: projectName.dev. I started having issues with this after upgrading to OS Sierra and it no longer works. Could this possibly be the reason as to why it is looking for these assets in the projectName at the .dev domain?
I apologize if this does not make sense. I am willing to provide anyone with any information on this as I need as much help as possible because I still need to level up my configuration skills. Let me know if you have questions.
The images and other assets are referenced with an absolute filepath (i.e. the URL of the server on which you first set it up). This has to be changed in all database entries. There are tutorials for this on the net, but the most simple version is to open the sql file in an editor and search & replace the general URL part in the complete database.
Be sure to keep a backup of the file - that might not work on the first try...

OpenX Admin not loading

I have two openx 2.8 servers running here. The issue is that trying to open the admin page redirects me to the full path www.myserver.com/www/admin/index.php with blank screen. Still I can access www.myserver.com/www/images/, delivery etc. I tried a lot of stuff without any success.
this one doesn't work for me OpenX Admin not accessible
I had something similar happen to me last week. Check your configuration file in the /var folder of your openx installation, probably called something like www.yoursite.com.conf.php. Mine was corrupted. I suspect outside malicious activity, especially since there are known vulnerabilities in OpenX.. I'm currently looking at upgrading to Revive Ad server, which is the successor and is supposed to offer a complete upgrade path.

Joomla 3.4 installation issue

I am trying a Joomla 3 quickstart package. I uploaded all the files to the server and went through the 4 installation steps (Configuration,Database,FTP,Overview). I have selected "Default English" for language and I installed the sample data. After clicking the Install button Joomla creates the tables in db, and then stops and goes back to the Overview section without creating the configuration.php file and without creating some tables.
I don't know what I'm doing wrong. Anyone can help me to solve this?
You are likely running into a file permission issue. Check to see whether Apache can write files to your filesystem. Also check that you have enough space on your server.
A final thing to consider is to check whether you have some PHP configuration issues (such as session issues).

Categories