Thanks in advanced for looking at my post! I developed this Commerce Kickstart site locally using Aquia Dev Desktop and everything looked and functioned great. When I post it to the server, I get the WSOD, and an error in the error_log:
PHP Fatal error: Call to undefined function delta_get_current() in /xxx/xxx/xxx/profiles/commerce_kickstart/themes/omega/alpha/includes/alpha.inc on line 222
This is a site that had been working fine remotely also, except for an issue with the checkout. (the original reason for taking it down.) I had to refer to a backup copy of the site, make some changes to get it to be more recent and then post it. That's when I received the WSOD and Php Fatal Errors.
If you have any advice on how to fix or where to proceed, please let me know. Also, let me know if you need any more info.
Thanks again.
Jason
You need to make sure that you're working with the right module and theme versions. See what you can do to update Delta to fix it, also update Omega.
Related
I am trying to install matomo by following the instructions in the website. But no luck, i keep on getting errors. I am using xampp to host the matomo.
First, I downloaded matomo, extracted it inside htdocs folder of my xampp. Then I go to localhost/matomo. It shows the installation welcome page. I click on Next and after a while got error "No database selected"
I researched and i read something that I need to create a config.ini.php and specify the database. And so I created a database in phpmyadmin called "matomo", then created a config.ini.php file. Then when I go to localhost/matomo, i get an error saying that matomo is already installed and that "matomo.option" doesn't exist.
Why is the matomo installation have to be this difficult? Has someone successfully did it? If you'll down vote, at least please let me know why so i can provide more information.
Ok, so after researching further, it seems after clicking Next, Matomo is already doing a system check which takes too long to complete. So the solution is to increase the max_execution_time found in xampp/php/php.ini to 90.
This will give matomo enough time to complete its process. I hope others will find this useful.
I am interested in seeing some PHP class with some working examples making trades on the Bitshares DEX. I found https://github.com/carlo-fontanos/bitshares-api-php but it requires a running full node.
I don't want to have to run Bitshares, but want to connect to a node that is running somewhere else. If this code does not exist anywhere, I would be interested in building it. any help please
You can update RPC endpoint URL to match your requirement.
You can see that in index.php line 9.
i am trying to figure this out for a long time now, but so far no luck, maybe somebody can help me.
I have a 2.2.2 cakephp installed on my computer (localhost) and everything works perfectly. But now i want that same project to be online on remote server. I upload everything, set mysql path but i get a blank page when trying to access the site.
If i upload a fresh cakephp it works, but my project doesnt. The debug is set to default, think that should be 2? I also deleted files in cache/tmp, but still no errors or anything, just blank page.
Any info would be helpful, thank you.
I hate when that happens :). Usually it does if there is an error somewhere and you can't see it because the errors are turned off, so you should call phpinfo() and see if display_errors is on. Changing the debug mode doesn't work every time since display_errors is set from php.ini.
Unfortunately, if this is the problem and you don't have access to edit the php.ini file, you might need to ask the hosting provider to change it and restart the php service.
You can also try this: error_reporting(E_ALL)
I uploaded changes to my cakephp website and discovered that all actions for a particular controller returned a blank page. I discovered what the error was and was able to reproduce it with another controller.
The problem was that in the first line of my controller file I had a space before the opening php tag.
One space cost me hours.
Just uploading all files won't cut it. Make sure you work through this checklist:
First and foremost, check the error log file located under app/tmp/logs/error.log, this usually holds some very good pointers as to what is wrong.
Make sure you have uploaded the app/Config/database.php file with the proper details. Local installs usually have user root without password. Online servers (obviously) do not!
To that extent, also make sure you actually have a database with your hosting provider (either your host sent you the info or you need to create it yourself using their control panel).
Make sure you also uploaded all .htaccess files (the one under the root directory and /app and /app/webroot), some FTP programs don't show this "hidden" file by default.
If all else fails, contact your hosting provider for further support as they usually have access to more verbose server logs that can also hold clues.
The real problem was only the coding I used in notepad++. All my files were encoded with UTF-8, but they should have been UTF-8 without BOM. After I changed it to UTF-8 withot BOM, everything started to work perfectly.
I was working locally on my computer on a cakephp project for 3 days. Then i had to shut off the computer. In the morning, when i turned it on, and tried to continue work, i got error:
Fatal Error (256): ConnectionManager::loadDataSource -
Unable to import DataSource class .DboSource
[CORE/cake/libs/model/connection_manager.php, line 185]
What could be the problem? I haven't changed any of the DB settings. I tried them out with a db manager and they work. I googled this in different ways, but couldn't find the answer.
Any clue would be awesomely appreciated!
Update: I noticed that if i drop the database, or change user/pass to something wrong, this error doesn't change. (..if that helps)
Since the database settings didn't matter, I figured out it was a problem in the system files in cakephp.
So I went ahead and downloaded again the same version 1.3.10 and replaced all over the cake/, plugins/, and vendors/ folders, in which I hadn't changed anything anyway. I only kept my app/ folder.
Finally it's up again.
We use custom settings in a SalesForce app. We access it like so:
MySettings__c settings = MySettings__c.getOrgDefaults();
This was working fine, but today the app completely crashed. By that I mean the page doesn't load at all, I just get a white screen telling me an internal error occurred. We traced it down to this line of code - when it is commented out the page loads as well as it can without those settings (but at least it loads).
Running that single line of code in the System Log (using the Execute functionality) also causes a report of Internal System Error. The only thing the system log reports is "FATAL_ERROR Internal Salesforce.com Error." The Apex code modal reports "Internal System Error: 1018505045-332 (-920440070)"
The setting has values for the organization - we've also tried deleting the settings and recreating them to no affect. So far SalesForce has been no help beyond telling us to ask on their website.
This is very frustrating as it was working fine on Friday and today it was broken before anyone touched anything.
What you have there is a platform error. Whenever you get those you should report them to SFDC support and they will be able to see further internal logging to sort it out.
Nothing anyone out here can do to help I am afraid.
Paul
try setting the apiVersion of the affected code back to version 21.0. We had the same issue and making this change has provided an effective workaround.
This was a bug in Salesforce's infrastructure, which has been reported resolved. If you're still seeing this error with API version 22.0, you should create a case with salesforce support.