Run a joomla project from from tar - joomla

I got a joomla project in tar and I'm trying to run it locally. I imported the db , extracted the files in the htdocs folder(using lampp) and made modified the configuration file with no luck. Anyone with any ideas?
Thanx!

Related

Manual Vaadin Project Deploy on Raspbian

For a project I want to do a performance comparison of different web-frameworks on a raspberry pi. Thats why I want to do only a manual deploy to mess around with it a bit.
I created a Vaadin project using maven and exported it as application.war file. I downloaded the tomcat-7 server and unzipped it. After that I gave the .sh files in the folder executable permission. Then I copied .war file in the webapps folder of tomcat. Finally I started tomcat by running sh startup.sh.
But when I try to open the page on my dev machine under ip:8080/application I only receive a timeout.
Did I miss something?

Lumen deployment error on Heroku / Scalingo

I created a fresh lumen project using composer and try to put it on heroku/scalingo.
However in both hosting solutions I get the following error:
Generating optimized autoload files
[RuntimeException]
Could not scan for classes inside "/build/4a8cf965dc0068e76480b81aa5321cff/vendor/laravel/lumen-framework/src/Foundation" which does not appear to be a file nor a folder
It is related to composer but I dont understand how.
Thank you
I added to exclude the /vendor/ folder on .gitignore and this solved the problem. But I dont understand what it was looking for that broke it.

Automatic Extension Update: Unknown Archive type

I have created a new version of my Joomla extension.
Manual upgrade via zip file or the directory works fine.
But the automatic upgrade (which used to work fine before), now gives an error 500 and the following error messages: "Unknown Archive type", "*Update path does not exist" and "Installation unexpectedly terminated: Update path does not exist".
I have no idea why those messages appear.
The update.xml references the correct zip files. Downloading it manually works just fine.
Joomla(/php/apache) has all rights on the folder containing the joomla installation.
After trying the automatic update, the tmp folder contains the downloaded zip archive with the latest extension version, interestingly without the .zip extension. Is the Joomla downloader not correctly naming the file and then failing upon finding that the file doesn't have a .zip extension?`Or what could it be?
Would be very thankful for any ideas...
Edit: My project is hosted on github, and github seems to automatically create a subfolder in the downloaded zip archive, named -.zip.
I'm using a link to the tagged github zip directly in my update.xml
I'm not sure if github always added this folder in the zip file, back when it still worked for me...
Might the Joomla problem have to do with the zip file containng such a folder, and not directly the extension stuff at root level? If so, anybody know if/how I can change github to not create that subfolder?
Right, just had a quick test of this.
I couldn't seem to find out how to automatically zip up a sub folder (there is a way but I need to do some more research/ask questions regarding this), however what you can do is the following:
Create a zip of your Repo
Open the zip, extract the folder you wish to be zipped then zip it
Create a new version and then drag your zip file into the upload box
Publish the release
Here is an example, have a look at the "Creating Releases" sections at the bottom:
https://github.com/blog/1547-release-your-software
Hope this helps
To answer my own question:
Yes, github seems to have recently changed their policy to create a root folder in the zip file, named as the repository the zip file is downloaded for (stupid, if you ask me, since the exact same information is encoded in the zip file name already anyway!).
Edit and Rewrite: It seems that either something changed in Joomla or that if you adhere to a naming convention - namely the root folder in the zip file having the exact extension name (or, I think and have to test, actually the same as the file name, without the version information), then the automatic update will work.
So as in my case, I have a Joomla package; the package is now in a repository pkg_mypkg. The zip file generated by github has the name pkg_mypkg-version.zip (e.g. pkg_myfancyext-1.0.9.zip), and contains a folder named pkg_mypkg. And inside the pkg_mypkg folder is a pkg_mypkg.xml file, the extension manifest. And this actually seems to be the configuration where automatic update works.

Project war file does not occur in dist folder

I run clean and build in netbeans web project.Past ,the war file was created in the dist folder. However I do same thing, but it was not created in dist folder. How can solve this problem?
Check the logs as it produces when you do clean and build using netbeans.It might show you the contexts and some paths it uses for creating a war.May be some of them might be missing.If it still does not help
try this
Stop the server.
Do clean and build and it will produce the war file now.
check the logs again.

How to deploy BIRT report on Tomcat?

I have tomcat 7.0.40 and have installed birt-runtime-4_3_0 by copying the WebViewerExample folder in the webapps folder of Tomcat. I have renamed the WebViewerExample as birt.
I have copied the Report.rptdesign in the root folder birt and copied the java eventhandler jars in the scriptlib folder of birt. I also have copied the sqljdbc4.jar in birt/WEB-INF/lib.
When I try to run the report on the local tomcat server with the url:
http://localhost:8080/birt/frameset?__report=Report.rptdesign
all I get is the 'processing, please wait' progress bar running infinitely and do not get to see the report.
What mistake am I making? Please help.
P.S. The report is working perfectly in Eclipse environment.
This may happen because of 'out of memory error'
Try to edit catalina.bat file under your Tomcat \bin
set CATALINA_OPTS=-Xms512 -Xms512m -XX:MaxPermSize=256
Hope it will help
Download org.apache.commons.logging-1.1.1.jar file from apache website
and paste the jar file to C:\xampp\tomcat\webapps\BIRT\WEB-INF\lib folder
and Working Fine For Me

Resources