I have got an old joomla version running. Some 1.0.x. (I did not yet intend to upgrade this site but will do as soon as I find some time for doing so)
However I had to upgrade the outdated linux (Suse 10.1) on that server and installed ubuntu 12.04.
Then I copied all the files to the server, that I backed up before the OS upgrade. And I re-created the database and the user that Joomla was using to access the DB. I Imported the tables and data using phpMyAdmin which I used before to export the old data base.
I did that before with other (more modern versions of) Joomla installations. As far as I can see the database was recoverd fine and all the files were installed and are at a proper place. The Backoffice/Admin site works fine. All Links (an extenstion/component) and all content items are still there and just look fine. (Given it is a rather old version :)
But on the frontend site the content items are missing. Front page looks fine, menu looks fine but the content is empty.
Menu Items to components (old zoom gallery, weblinks component) work just right. Samples:
http://www.klecker.de/photo/index.php?option=com_weblinks&Itemid=52
http://www.klecker.de/photo/index.php?option=com_zoom&Itemid=26&catid=13
But "internal" links to content items - static and normal - don't work at all. Sample:
http://www.klecker.de/photo/index.php?option=com_content&task=view&id=121&Itemid=199
What could be wrong? What did I miss or overlook? Something related to the file system structure, which is slightly different between these two linux distributions and plesk versions? Or may different Versions of php5 or mysql cause some side effect?
Could you turn on your error debugging or let us know what the error is?
If you are on php 5.3 try the following. It worked for me on an archived (locked down) 1.0.15 site:
Open /includes/Cache/Lite/Function.php
Go to line 74, i.e. $arguments
= func_get_args();
Replace it with this:
$arguments = func_get_args();
$numargs = func_num_args();
for($i=1; $i < $numargs; $i++)
{
$arguments[$i] = &$arguments[$i];
}
Save
Test
5.3 support was not officially added to Joomla until version 1.5.15.
Related
I'm using postgres database and logging in as admin. watching YouTube videos and other online documentation I can see that other users have this button enabled but for some reason it doesn't appear in my installation. I'm thinking that it must be something in the config.py file. Everything is fairly vanilla I haven't changed any parameters at this point.
From answer on this question you need to set this flag in superset_config.py
FEATURE_FLAGS = {
"ENABLE_TEMPLATE_PROCESSING": True,
}
I'm making a web scraper that I using for drop add at my school but I'm having trouble getting it to run on my debian VPS. It works perfectly on my mac but for some reason pywebcopy just doesn't want to work on the VPS. I'm also willing to use something else to do it because I only need the HTML when from what I have seen pywebcopy is built for getting everything from a website. So recomendations on other ways to go about it or a fix to my issue would be a blessing. Also this class is getting ran every second and is intended to be run until I get all of my classes added. On my mac it is being done with python 3.6 but on the vps it is with python 3.7 so that might be another issue.
def getwebpage(crn):
#18139
kwargs = {'project_name': 'site folder'}
url='https://.edu/bprod/bwckschd.p_disp_listcrse?term_in=202101&subj_in=CSC&crse_in=4780&crn_in='+crn
config.setup_config(
# url pf the website
url,
# folder where the copy will be saved
project_folder='rawhtml/'+crn,
**kwargs
)
wp = WebPage()
wp.get(url)
wp.save_html()
dirs = os.listdir("rawhtml/"+crn+"/site folder/.edu/bprod")
file_path = "rawhtml/"+crn+"/site folder/.edu/bprod/"+dirs[0]
return file_path
Recently I’ve release my Windows 10 UWP application in store .
Last week I released a new update in store ,after a week I receive lots of mail from users about a bug in my app.(Pages that want to connect to database can't open and they crash)
Funny part is that when I deploy and run it by visual studio or Powershell (appx-package command) everything works fine, so I can't find a thing.(Even in RemoteMachine and Emulator)
So I was checking my dashboard in dev center and find some "failed log" there.
How can I use these logs to find my problem?
I'm really stuck and don't know what to do!!
Solution:
In Properties of the Project there is a file named Default.rd.xml that contains an element like <Assembly Name="*Application" ...
So by mistake the attribute it was changed to name="*Application" (Don't know what changed that and VisualStudio didn't notice that.)
I am having trouble including an external file in the application.conf of my play 2.1.1 application in production mode (when launched with start)
Following the official documentation I added an include statement in my application.conf :
[...]
include "/absolute/path/to/external/config/file.conf"
The content is loaded this way :
configuration.getConfig("some-key")
It works fine in dev mode, but fails in production mode (it's always None).
This is preventing me from deploying my application to production.
Any help/ideas would be greatly appreciated.
EDIT:
Following Saffron's comment I tried a few workarounds.
Removing the first slash from the include statement did not work.
Loading the configuration file via -Dconfig.file=/abs/path gave weird results and it seems that Play is not behaving in a consistent way:
play start -Dconfig.file=/path/to/file.conf does not work. However launching play THEN running start -Dconfig.file=/path/to/file.conf does work ??!!
So I ended up creating a new configuration instead of using Play's:
val conf = ConfigFactory.parseFile(new File("/path/to/file.conf")).resolve()
val myValues = new Configuration(conf).getConfig("some-key").get
Hope it can help someone who ran into the same issue.
I had a problem in which my images weren't displayed correctly in prod mode, but were ok in dev mode.
The solution was to write the path as ("images/...") instead of ("/images/..."). Try it, just for science sake.
Anyway,if this doesn't work, here is some documentation about additional Conf in prod mode, with console lines to override the file. $ start -Dconfig.file=/opt/conf/prod.conf
http://www.playframework.com/documentation/2.0/ProductionConfiguration
I have started a new Lightswitch project using a SQL database that was created with Lightswitch. When I publish and install the new Desktop project everything goes fine with no errors in publishing, installing or loading the new application. The first and only screen appears. I can click on different records and the data shows up and I can edit the data. However, if I use the list search function all of the fields get Red x'd.
The original application works the way it supposed to work.
I have tried with and without IIS: Published with (local) and (IIS) and get the same results with both methods.
The connecection string options for the new app are not the same as the original in that System Admin and Sytem user connecection strings are not offered so it is difficult to know if I replicating a working setup or not.
In Mananagement Studio I am awash in security, permissions, roles, and login selecitons. It seems clear that this is permission level problem but I have no idea on where to start trouble shooting.
see:
Diagnosing Problems in a Deployed 3-Tier LightSwitch Application
http://blogs.msdn.com/b/lightswitch/archive/2011/09/20/diagnosing-problems-in-a-deployed-lightswitch-application-eric-erhardt.aspx
How many string properties are in the table that you're displaying? Is there a large number of properties that don't need to be included in the search?
This forum post discusses the same issue as you're encountering: Search returns error "Unable to load data" with a Red X
Have you checked your connection string setup? I do have those issues back when I was using SQL Express on development and using SQL Server Enterprise as my target database server.