"404 - An error has occurred. Component not found" error while i select my component from menu in joomla 2.5 - joomla

I have a custom component contactList to show list of contacts from DB . This works fine and list gets displayed in localhost when i call index.php?option=com_componentList . But now i uploaded the project to the live server . In live server I am getting this 404 error . Other built in components are working perfectly . What could be the reason ? Thanks in advance .

Related

How can i make laravel routes accessible from phpdesktop chrome?

I have a laravel 6 application that I want to put into setup form. so i found phpdesktop chrome and copy my app content to phpdesktop www folder. When I start the application with the setup, it shows me the home page, but when I click on a button to access my login page, I receive this error: Error 404: Not Found
File not found.
What can I do to make the routes accessible via the desktop application?
any help would be appreciated. thank you
It was enough to put /index.php at line "404_handler":
"web_server": {
"listen_on": ["127.0.0.1", 62412],
"www_directory": "www/public",
"index_files": ["index.html", "index.php"],
"cgi_interpreter": "php/php-cgi.exe",
"cgi_extensions": ["php"],
"cgi_temp_dir": "",
"404_handler": "/index.php",
"hide_files": []
},

Laravel 9 gives wrong validation error messages

I don't get the correct validation error messages, instead I get this dot-notation error message:
When I submit the empty form, the fabric error message shows validation.required instead of Fabric is required.
Here is my code:
$request->validate([
'fabric'=>'required|in:3'
]);
I deleted the old resources/lang folder and it worked.
Just remember to have the new lang folder, and its content, in your project root directory like this : https://github.com/laravel/laravel/tree/9.x/lang

5006 : Unable to redirect to Vendors web site. The Vendor failed to provide a RedirectionURL. - PHP Inframe integration

Hoping someone can help me.
I'm working on the Server Inframe integration and I can get the iframe to load with the inputs for the card details, but when you click to continue i get the following error:
5006 : Unable to redirect to Vendors web site. The Vendor failed to provide a RedirectionURL.
My notification URL is:
https://" . $_SERVER[HTTP_HOST] . "/index.php?route=payment/sagepay_inframe/notificationURL
and in that function I have
header("Content-type: text/plain");
echo 'Status=OK' . chr(13) . chr(10) . 'RedirectURL=https://example/url' . chr(13) . chr(10);
I've tried using ngrok to make my localhost accessible but nothing seems to work. Can anyone advise if I'm doing this correctly or if I'm missing something? Really pulling my hair out with this one.
Thanks.
The callback process won't work on localhost. Your NotificationURL (that you supply in the registration post) must be accessible to the internet.....

Laravel 4 : why did I get 2 different of 404 error page?

I'm using Laravel 4.2 framework for my website, and want it catch my 404 error correctly. My problem is that the server return a different 404 page when I try to open some bad link inside the public folder. Please give me some advice, thank you very much.
Folder structure:
-- app
-- bootstrap
-- public
--assets
--packagespage
-- vender
Normally, I set my 404 page like this:
When I tried http://localhost:8000/assets/some-name and http://localhost:8000/packages/some-name => new 404 page here:

"Server Error" when users try to create a new account - Magento 1.7

I'm setting up our Magento 1.7 store, hoping to be ready for launch soon. I've noticed a problem:
When users try to create a new account, they fill out their info on /customer/account/create page just fine, then when they click submit, they get this 500 Error:
The website encountered an error while retrieving
http://example.com/customer/account/createpost/.
the account is actually created, however.
Similar deal on when users submit their email on the Forgot Password page, they press submit and get this:
The website encountered an error while retrieving
http://example.com/customer/account/forgotpasswordpost/.
no email is sent.
If you see this and know how to help with this prob, your advice would be much appreciated, truly.
In case it helps, we are using a theme, rather than default.
EDIT - (I was asked if I had checked server error)
My server errors show as this, for the above situations:
Forgot Password submit shows this error:
Fatal error: Call to undefined method Mandrill_API::addTo() in
D:\Magento\app\code\core\Mage\Core\Model\Email\Template.php on line
438
and
Create Account submit shows this error:
Fatal error: Call to undefined method Mandrill_API::addTo() in
D:\Magento\app\code\core\Mage\Core\Model\Email\Template.php on line
438
as well.
Here is 6 lines(437-442) of that Template.php file:
foreach ($emails as $key => $email) {
$mail->addTo($email, '=?utf-8?B?' . base64_encode($names[$key]) . '?=');
}
$this->setUseAbsoluteLinks(true);
$text = $this->getProcessedTemplate($variables, true);
[UPDATE]
I've learned that when I enter a random, fake email for Forgot Password, and press submit, a confirmation appears, saying something like "If this email exists, then a new email was sent to that email!", but when I submit an email of a real existing customer, then it gives me the 500 error I've mentioned.
Still nothing - if anyone out there sees this, and you have a bit of time to help solve this perhaps, may Talos bless you!
[SOLVED]
I turns out this was a problem with transaction emails.
Cause by an extension, Mandrill, which is added to magento when I installed the MailChimp extension, called "MageMonkey - MailChimp Integration by ebizmarts"
Once I enabled Mandrill, in config, advanced, all transactions and transaction emails work perfectly fine!
It's possible that it's a .htaccess or server configuration problem. Where is it hosted? Do you have a .htaccess file in the root of the installation?

Resources