It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
My project hosted on linux server works perfect, but in ubuntu its not working, why??
home page is working.....if i click any link showing ----Not found page
Your question contains no information to help troubleshooting.
Usually the way to go when error occurs after moving a web application between environments is to look for differences in configurations, such as the php.ini and /etc/apache2/httpd.conf.
Calling php_info(); from both your working and non-working environment and comparing the differences should be a good way to get you started on your troubleshooting.
Don't forget to take a look at your .htaccess file.
Check your
application/config/config.php file's
$config['uri_protocol']
check if it's set in as AUTO,
try selecting other protocols such as PATH_INFO, QUERY_STRING, REQUEST_URI, ORIG_PATH_INFO, APP_PATH etc.
one of the protocol should work for you, if not then use this code to check
<?php
print_r($_SERVER);
?>
which $_SEREVER[???] value has server path information and try using that value in $config['uri_protocol'].
Also check your router file's configuration and .htaccess.
My guess is some trial and error with uri_protocol setting should work for you, good luck.
Is it not a case that the .htaccess file is missing in the root CI directory?
You might have a problem with you Apache/PHP configuration.
Related
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I'm testing a web application with several functionalities. I didn't develop this application, I'm a mere tester. I'm new to testing and when I started working on it I was given a series a Selenium Tests. These tests are performed by using Selenium IDE on Firefox.
They're very easy to perform in this way, cause you can just record and store variables and run the test.
The problem is that when, for example:
* a web page has a table with 3 rows, I prepare the test for this scenario, it works
* the day after the table has 4 rows so my test doesn't work anymore,
* Selenium doesn't allow me to make a for-cycle over rows or columns
That's why I thought I could export the several Selenium test to Java 4 Web Driver and import them in Eclipse. In this way I'm able to improve the code, by adding for cycles and other stuff.
I created a project for my test suite, imported the JUnit 4 and Selenium library, ran the suite and everything was alright, no errors. It was great.
*The thing is: how I do I manage to VISUALIZE (or Playback) on Firefox Browser my tests, as I was doing earlier in Selenium IDE?? *
Thx a lot
When you run the tests in Eclipse, it will open a Firefox window and perform the tests just as it would in the IDE.
As for actual test management (i.e starting/stopping tests) you will need to invest in some CI software. TeamCity, Jenkins or something like that will work.
As for picking elements out (the 'find' option in Selenium IDE), this is much more tricky as you've just ditched the IDE and are very new to Selenium. It is, however, easily done.
You can run XPath and CSS queries directly into Firefox's Console (or Firebug, if you wish). Thus, you can still run the same queries you would in the IDE, the only difference is how the results are returned to. Selenium IDE will 'highlight' an element, whereas the console will return it as a DOM object.
If none of the above helps, please go into more detail for what you are requiring, but I've covered what the IDE allows you to do and what are the alternatives.
I'm having an issue with a Magento site.
I've setup a new theme, and I'm trying to edit the Product page/template.
I'm editing this file;
/catalog/product/view.phtml
I've got the Template hints enabled, so I know that I'm definitely editing the correct file. However, changes that I make don't come through to the frontend of the site so I'm assume there's some sort of cache problem here?
Any help would be great. Thanks in advance!
EDIT:
Cache is disabled, been flushed and files deleted from var/cache.
Do you have the System > Tools > Compilation Enabled? I had a similar issue earlier today that got resolved by re running the compilation process. Also make sure you have the theme in question set correctly in System > Design.
Have you considered that the section you're editing may lie within a conditional statement (IE: if/else)? If you give an example of what code you're adding and where it may help determine whether this is at fault.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
The previous project was developed on Linux platform, which I plan to move to Xcode IDE.
Other things aside, I want to know how to quickly set up the project in Xcode.
Ideally, it should just take the top-most Makefile and carry out automatically (e.g. indexing, auto-completion, jump to definition etc.). For Eclipse, it is pretty much like that. But I could not find similar functionality in Xcode (not expert as you can tell).
Really appreciate your help.
There is no way to "import" the makefile into an Xcode project, but you can make Xcode run your makefile for you by using an external build tool. When you create your project, choose the Other category under Mac OS X, then choose External Build Tool and click the Next button. The next screen will have a text field at the bottom which allows you to enter the command to run. Make sure it is /usr/bin/make. Then, finish creating your project. Now, whenever you build, Xcode will run make from the project directory.
Note that this is not a "native" Xcode project, so you will have to do more manually. For example, you are still responsible for updating the makefile when you add/remove files, and the build settings in Xcode will be ignored unless you customize your makefile to use them. If you want to do more than build from Xcode, you will also have to edit your scheme and set up the other actions, such as specifying the executable for running.
Even though the external build tool option is not available in the iOS categories, you can use the Mac OS X version, since your makefile defines what gets built. I don't know if Xcode will attempt to analyze/complete your code, but you may want to update your SDK and target version settings, just in case.
This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
How to add tab application to a page with the “new auth dialog”
I just have "programmed" a new tab for my fanpage as described in the help for developers.
(https://developers.facebook.com/docs/appsonfacebook/pagetabs/)
I have got a app ID, but no App Urls. I can't reached the App Page to add it to my fanpage.
Why does the app don't work? Where can I get help. It looks so easy, but I am on it for hours now.
Thanks a lot.
Wolfgang
From the Facebook Documentation:
https://www.facebook.com/dialog/pagetab?app_id=YOUR_APP_ID&next=YOUR_URL
YOUR_URL seems to need to be the Website Url associated with your App.
Finally it works.
If anybody do have the same problem, here a hint:
YOUR_URL is the path to the app hosted on your server (e.g. https://www.example.com/app/index.html).
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I am a beginner to Joomla 1.5 ... I have read about the structure and how to build Modules, Components and plugins... But I don't know when to build those and when to use those...
Can anyone shed light on this?
Components are sort of web applications developed using the joomla framework. They are displayed in the main content area of a joomla site (just as articles, which are displayed by the content component). The component usually has its own administration backend accessed through the "Components" menu.
Modules are rendered as little blocks of html which can be shown in different module positions (usually in the sidebar). On stackoverflow the "upgrade your career today" widget on the right is a good aproximation of what a module is in Joomla. In a standard installation of joomla a login box is an example of a module, so is the menu.
A plugin is used to do some internal work behind the scenes. It is basically an event observer, which is activated when some event is raised inside the core joomla framework. A good example is an email cloak plugin from the core of Joomla which is invoked when the article is rendered and substitutes email addresses inside an article with some javascript to help protect them from spammers.
Content plugins are just one example. Recently I developed a plugin which logs every successful login attempt in a database. It was done by handling the event raised when a user logs in to the site.
You build a module or plugin or anything else when you don't find one which complete you needs. Before develop be sure that nothing exist.