Joomla Mootools file getting truncated - apache

I am trying to run Joomla on my local machine. I have installed wamp 2.0 and everything installed ok with it and I managed to see it running. I have now come to install Joomla 1.5.18 but I am having a problem with the mootools file on the installation wizard.
When running through the installation process in FireFox with firebug turned on I get errors about the mootools file missing a }. When I view the file through windows explorer it is complete and everything is fine with it but when I click on the error in firebug to see the error the file is truncated which I assume is why it is not working and complaining about a missing }. To test the file I created a test page which pulls in the same mootools file and this works fine (running locally and not through Joomla ).
Does anyone know why this is happening and how to fix it? I think it must be a problem with wamp as like I said the file is fine and runs ok if I run it from the file system, however I know nothing about servers so this is a guess. Maybe a limit on the size of a file which can be returned as the mootools file is around 7000 characters long.
I have tried un-installing both Joomla and Wamp but none this has not worked and I still get the same error. Thanks

I'm just curious, have you tried installing a newer version of Joomla? 1.5.8 is a little bit old and you may have better luck using something a version or two newer. Alternately speaking, if you're not a big fan of installing WAMP and then manually installing Joomla, you can use a Bitnami Joomla stack. Basically, Bitnami installs Apache, mySQL, PHP, and Joomla all in one quick and easy install.
I hope that some of this helps!

I would suggest that your problem is not with the Mootools package but with your template or modules that are loaded in. Can you turn off all of your modules and reenable them one by one until you see the error again?

Related

VScode remote SSH server fails to load the extensions

Recently,my server encountered a strange problem. All the previously installed extensions were not loaded when logging in again.
Now we need to reinstall the extension every time we log in. There is no such problem before January 15. What is the reason?
We have tried to restart the server and reinstall the extension. The problem still exists. enter image description here
And I have checked the extensions path, all the extensions are still existed, but vscode doesn't load them, I did not find a similar situation on the Internet, is only I encountered this situation?
enter image description here

Whys is IISExpress giving 404, when server IIS works

I am using Visual Studio 2017 version 15.8.7 on windows 10.
This issue is happening for Asp.net MVC 4 websites and Web Api 2. Not for Aspnet.Core sites (so far)
Lately I have been having issues where I will be debugging a website and it will work fine then all of a sudden the next time you start the project up, it gives a 404 error. The only way to fix the error is to use a different computer, create a new project and copy the info over.
Every time I start the debugger and get 404, this event is recorded.
The directory specified for caching compressed content
C:\inetpub\temp\IIS Temporary Compressed Files\Clr4IntegratedAppPool
is invalid. Static compression is being disabled.
Things I have tried.
Uninstal VS / IISExpress and reinstall, including delete all folders in program files
Create a new project and copy code over. (works, but then happens again later on)
Use different computer. (works, but eventually that computer hits the issue too)
Tried creating the temporary folder and giving "Everyone" full control of it.
Tried changing port number and re-creating virtual directory
Tried deleting entire solution folder and re-cloning repo.
The issue does not happen on the web servers, only locally.
Any idea on what is going on? I can't find any configuration that is telling IIS to compress the files, so not sure why I keep seeing that error.
Edit
I determined that the application_start even in global.asax is never firing (StreamWriter code in it to log to a file in case debugger issue). So I assume the 404 is because the routes never get registered.
I tried updating Microsoft.AspNet.Mvc to the latest 5.2.6.
Edit 2
So I found a workaround. I installed IIS locally and publish to a folder and debug by attaching to the process. If I point IIS directly at the project or use IIS within VS it doesnt work.
I think the issue is related to some dll goofiness, project seems to work once published.
Edit 3
Found the root of the problem. I use Ubuntu/bash on windows. Cloning the git repo through bash seems to be setting the permissions wrong. If I clone through command line, the issue does not happen. Now I need to figure out why bash is screwing up the file permissions.
Same issue with VS2017 on Windows 10, default IIS Express and git for Windows. Suddenly iisexpress returns 404 on /Default.aspx!!??
Solution:
Close VS2017
Delete the git repository in the file system.
Open VS2017
Clone the git repo
this helped on my machine.

Image php5.6-apache. debbuging my code

I'm using docker-compose to create two containers connected between them. (the images are php5.6-apache and mysql).
Everything is running OK. my problem is when i want to start working. i cant see the typical errors in php. (i always worked on xampp). i've seen a lot of documentation how to enable the debugs but i cant find a solution. I tried to find php.ini but apparently it is not in the apache container. I tried to install xdebug as the documentation...
anyone know how to do it?
I need to do it in php 5.6 as my application doesn't work with newer versions.

Drupal custom module failing to install

I have created a module on a development server (xampp) all is fine and working. However when I have move the module to my production server it fails to install properly, WSOD. From db I can see that my fields are not being created.
Drupal version 7.27 on both, both clean installs with the same dependencies installed.
Nothing in apache error log.
Grateful for any tips.
Mathew
ok just incase this helps someone else further down the line - this was an issue with different versions on PHP on the two servers one had 5.3 the other 5.5. One supports short form arrays [] and one does not which was my problem.
Would i have been able to resolve this from PHP logs?

Installing dotnetnuke module install fails with 404

Im doing some dev work on a dnn module. I was able to build and install a package on my installation of DNN once. I made some changes and wanted to uninstall and reinstall it. Uninstalling went fine. Installing the module again failed by throwing a 404 on the install popup window as soon as i upload the new module zip. I dont see anything logged in the event viewer. Anyone know what can cause this?
Im running DNN 6.2.4
UPDATE: adding more info
the url its 404ing on is: "/Host/Extensions/tabid/36/ctl/Install/rtab/36/portalid/0/Default.aspx?popUp=true"
Im sure this is something unique to my module. I tried installing other modules and they worked fine.
Try hitting F12 in your browser to load the Developer console and see if you can find what the URL is that is 404'ng, that'll make tracking down the issue easier.
Update: Since it appears to be the old "max upload size" issue check out this video for how to fix that part
http://www.dotnetnuke.com/Resources/Video-Library/Viewer/Video/383/View/Details/How-to-increase-the-maximum-file-upload-size-in-DotNetNuke-6.aspx