Prestashop 1.7 Transplant a Module Page Temporarily Unavailable Error - php

I recently started experiencing a strange error every single time I try to visit the transplant a module page. From the design > positions page3 I click on the "transplant a module" button on the top right and it takes a really long time to load, but then it does not load at all. I get a blank page with the following error:
The page you are looking for is temporarily unavailable.
Please try again later.
5cb0af3eb5bd6096ecb4dce014d6635a 3a1c22abc23c754c0fb7be3b7c58431e 159cf03490b9d26b556696ed897a7daa
I contacted my server provider and they explained to me that the server I was using was reaching the max amount of files allocated, and that I needed to get a new server just for this particular site. So I did. I then cloned the site and database and brought it over to the new server....but I'm still getting this error everytime I try to transplant a module.
Any one ever encountered this issue? Any one have any ideas as to what could be causing this? Any suggestions on what I can do to troubleshoot this error further?
I have turned on debug mode, and it does not give any more information than what's above.
Thank you all,

Maybe you are facing the following known bug. It will be fixed in 1.7.5 (coming soon)
https://github.com/PrestaShop/PrestaShop/issues/10811

Sometimes module have some issues, I've a problem one day and this help me :
In config/xml copy the 2 files "must_have_modules_list.xml" and "default_country_modules_list.xml" on your PC in case,
And then delete the two files from your site,
This "refresh" the cache of your module config
Hope will help you

The "Transplant a module" page is now working after I changed the file AdminModulesPositionsController.php in /root/controllers/admin folder.
In line 449 changed:
$all_modules_controllers = Dispatcher::getModuleControllers($type);
to
$all_modules_controllers = Dispatcher::getControllers($type);
Try this, it's working for me.

Related

XML Parsing Error: xml processing instruction not at start of external entity

I have a vBulletin 3.8 forum.
When we click Edit button of any post (so the Quick Edit form should displayed), I get this error on the browser's console:
XML Parsing Error: xml processing instruction not at start of external entity
Location: http://www.xxxxx.xx/ajax.php?do=quickedit&p=438
Row number 2, Column 1:
... the Quick Edit form is not appearing the the progress bar displayed permanently.
I have try to disable hooks/ plugins, but the problem still appears.
I have this row on config.php: ini_set("display_errors", false); so I don't think it is a fatal error/ warning by PHP which brokes the xml normal syntax.
I have informed that this appear starts after the move of the site to another server. Does it say something to you?
Any general idea about this error?
EDIT:
Well, I found the reason of this issue, but I don't know how to fix it. Exact the same site on a localhost testing board works perfectly, but on the live server ANY html page/ ajax call etc, has a useless empty line as line #1.
For normal html pages, there is no reason for the browser to return an error, but when we're talking about an ajax call, this empty line at the top of the response, breaks the xml parsing from the browser. So it seems it is a server/ PHP/ Apache setting that applies this empty line. Any idea how to fix it? https://imgur.com/a/4neb0
It might be late for you but any new comers with php/nginx/apache can get an understanding of why.
Answer is simple: When moving the code, you might not be using git/rsync/scp but let me guess, you used zip (and probably Windows/Linux involved).
How to discover it was a two-day journey with many things tried:
We have the same error, we were also moving our servers. We tried:
We thought the server software version was a problem.
We thought the cloud provider OS image was a problem.
We used docker to avoid these problems, but the empty line problem persists.
We thought the code ?> ending was a problem, I went through all of them. But it wasn't.
I finally asked my colleague: How did you get the code? From Git? He said he downloaded from ZIP and then uploaded to server.
I removed code on the server (which extracted from a zip) and used git to download a fresh copy from our github.
Magic, problem solved. The empty line gone.
So I think the problem is with the zipping progress might have changed some file empty lines. Always use git.

After Joomla update from 3.5.1. to 3.6.0 I get the following error: JLIB_CLIENT_ERROR_JFTP_APPEND_BAD_RESPONSE

When I Update my current Joomla from 3.5.1 to 3.6.0 the update process starts as expected. But at the end the browser switches to a blank white site. Afterwards when i call the admininstration or the frontend i get following error message: JLIB_CLIENT_ERROR_JFTP_APPEND_BAD_RESPONSE
Anybody able to help me with this? When i check the apache error.log, nothing is shown.
Thanks in advance
René
The only solution i found right now is the following:
I restored a backup of the entire site with the data of yesterday.
Then I entered the administration panel
Switched to configuration and server and disabled the FTP-Layer (which was enabled before)
Now i called the component "Joomla Update"
I started the installation process für 3.6.0
The system finished the process wihtouht problems
So my opinion is to be very careffully with the update when the ftp-layer is switched on.

phpMyAdmin 4.5.0.2 shows blank page with Firefox 40.0.3

Oracle 7
Nginx
PHP5.5
I am currently getting only a blank page when trying to access phpMyAdmin instance. I've already took look at the page source and there is HTML content but for whatever reason, the page remains blank. Is this a bug? Has anyone experienced this particular issue like this before?
http://pastebin.com/bDQ2p52b
I was finally able to resolve this issue by:
a) Enabling $cfg['AllowThirdPartyFraming'] = true;
b) Remove the hide class from libraries/plugins/auth/AuthenticationCookie.class.php on line 171
Although I recieved a login form, however it didn't resolve the underlying issue, as certian objects on the page were inoperable. Digging into the source page; I discoververed that js/get_scripts.js.php output was being trancuated. I did some researched online and landed on https://serverfault.com/questions/269173/why-is-the-response-truncated-at-16k-with-php-fastcgi, checked my fastcgi_temp_path and noticed that the ownership was set improperly on /var/lib/nginx/tmp. This resolved all the issues I was having earlier.

Magento : Fatal error: Call to undefined method Zend_Db_Statement_Exception

To put it shortly, I'm looking for a lifesaver... I'm in serious trouble with this
I had a working Magento 1.7 installation, there was some problem with a plugin named worldpay, so I checked for various upgrades via magento connect and was upgrading. While trying to upgrade Mage core or something like that, it shown me an error.
Since then 500 internal server error was showing. So, I used magento cleanup tool and now I was stuck with 503 error.
I removed maintenance.flag file and now I'm stuck with this error
Fatal error: Call to undefined method Zend_Db_Statement_Exception::getPrevious() in /home/****/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php on line 351
I cannot get rid of it. No google solution here... Is there someone who can help me???
I'm ready to pay for it too.
The site has a huge database (1.5GB) , so no reinstall here.
Please
Thanks
First of all, go to index.php and see if developer mode is off by checking lines
if (isset($_SERVER['MAGE_IS_DEVELOPER_MODE'])) {
Mage::setIsDeveloperMode(true);
}
#ini_set('display_errors', 1);
If the developer mode was off or if switching it off didn't help, go to /home/****/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php on line 351 and see what's going on.
Magento can not find Zend_Db_Statement_Exception::getPrevious() method for some reason, so either comment this out and see what is going to happen or search entire directory for getPrevious() method and correct the reference Zend_Db_Statement_Exception if this method happens to be in some other place.
If this doesn't help, try to run the upgrade script again.
If after this it is still a problem, you will probably need to hire a developer to fix it. There are plenty of freelancers, who would be happy to do it.

ActionScript 3 - Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation

I seem to have a problem and can't get it work. I'm working on a simple application that comunicates with som php scripts to manage databases. While my app is simple and still in development, I have gotten it to work on my pc. This although changes when I upload it to my webserver.
The page is:
http://converter-vhs-para-dvd-video.info/GestaoCCBS/CCBS%20Management.html
and the swf:
http://converter-vhs-para-dvd-video.info/GestaoCCBS/CCBS%20Management.swf
First, it appears to be normal, but when you press the "Login" button, nothing happens, doesen't login and doesent throw out an error for not being correct.
After some fiddling around, I noticed that ONLY Firefox gives me an error:
Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: http://converter-vhs-para-dvd-video.info/GestaoCCBS/CCBS Management.swf cannot load data from http://www.converter-vhs-para-dvd-video.info/GestaoCCBS/CheckLogin.php.
at LoginModule/CheckLogin()
I tried messing with the "Acess local files only/Acess network" option in the publish menu, but still no dice.
Can anyone please help me? I bet its a simple error, but i'm still new to this.
Also, keep in mind i'm working with php scripts, and not xml (Don't know if it makes a difference).
Thank you.
One of the URL has a www and not the other, you may want to harmonize these.
Have you tried to use Security.allowDomain("domain.com"); ?
Edit: looks like an other answer solved your problem. Nice! :-)

Categories