When i was posting my cakephp project online a view wasn't working for 100% anymore.
Local the view shows correct data but online it shows only on one of the 21 values
undefined index: commission_total [APP/View/Brokeraccountupdates/detail.ctp, line 77]
There where no typo's and the database field does exist.
i made a phpinfo on-line to compare the settings of php and mysql versions.
the code is identical and the server settings are good.
(paginator is good to).
can someone help me?
Ive had this issue before normally it is caused by the model being cached. Try deleting the model cache for your app:
cd <cake_app_root>
rm -rf app/tmp/cache/model/*
Or navigate to the directory in an FTP client and remove the files, however you manage your server
The hosting server has problems with permissions ect we use a new hosting server and the problem disappears.
thanks anyway.
Related
I've installed successfully Moodle version 3.3.2 and at the end, i got an error to connection database. But as i've seen it generated all tables in database moodle.
Now, i can't enter, ERR_TOO_MANY_REDIRECTS on loading pages.
URL: http://example.com/admin/index.php?cache=1.
Additional Server information:
OS: Ubuntu 16.04
PHP: 5.6
Mysql: 5.7.20-0ubuntu0.16.04.1
Different approach to solving this problem after checking and making sure that apache and php configuration are ok. I the added this line of code to my noodle config file.
$CFG->sslproxy = true;
And this resolved the issue.
go on your server directory such as "www=>moodle directory=>admin
open index.php
find following
"redirect("index.php?sessionstarted=1&lang=$CFG->lang");"
and comment it
i find this on line 712 in moodle 3.7. it might be changed with version
save file and refresh page
Search the moodledata directory, enter it and delete the following directories
cache
localcache
in my case, this error come out because of the disk was full and yes deleting cache and localcache solve the problem
Delete all the data from moodledata folder (Try this only with the new instance otherwise will loose the data), then try to open yourdomain/moodle in your browser. It will work.
Please Help me on this
i have cleaned vqcache folder and checked but it's not working.
any solution on this.
this issue only for product category page. other pagers are working good.
Error
http://ph.lowvision.co.nz/index.php?route=product/category&path=59_60
server specification
windows server
PHP Version (please check the link) http://ph.lowvision.co.nz/version.php
Hi can you please check the following. In your root folder of opencart setup go to system/storage/modification/ folder in that if there is folder named "system" then please delete this folder for now and check your site will run. i have the same problem with opencart same verison. one more thing do not clear cache of modification on admin side. if you clear it. the folder named "system" will again generate in system/storage/modification/ so again you have the same error. i hope this will work for you.
After having installed Laravel 5.1 on a local desktop, I installed it on a webserver (debian 8, php 5.6.17), set the directory permissions for storage and bootstrap/cache tp 1777. All worked fine. Next I installed it on another webserver, same method, same settings, but now it only shows a coninuously loading page. Tried a re-install, with the same result
Started manual debugging and the code falters in the index.php at $kernel->terminate(.... I also changed caching and session storage to redis, which made no difference.
Have been reading through the 'blank pages' posts, and been googling on it too, without any helpfull result so far.
If I let the script die before the '$kernel->terminate(...' line it shows the page else it just shows the page loading ... Unfortunately, pagination, and sorting a.o. do not work due to the premature ending of the script.
Anyone encountered this peculiar behaviour before
Cheers,
It happens most probably due to permission issue.Try this
chmod 777 -R storage/
Storage folder existed inside the Laravel folder.If nothing works, try to give full permission to Laravel Project folder and try again.
Problem caused by NFS filesystem. It doesn't allow file locking. Solved the problem by writing sessions to memcached
For me what fixed my issue was removing some laravel comment in my blade files. Especially comments of html code on multiple lines.
It took afew days to figure it out!! Very annoying.
{{--
html code here
--}}
see:
Blade Comments in Laravel are crashing apache
Laravel - Blade comments , blade rendering causing page to crash
I've been fishing through answers to similar problems, but none seem to address the issue we currently have. To sum up what has occurred this far:
Client has a website running joomla v1.5.12 (yeah, we know it's old...)
Site was very slow so upgraded hosting package to higher specs.
Took an FTP backup of the original site beforehand and then copied it accross.
Site works on the front end as normal. Sends emails and is both cosmetically and visually sound.
However, admin pages keep showing errors in the same vein as the following:
JFolder::folder: Path is not a folder
and
Warning: Invalid argument supplied for foreach() in \\**servername**\Domains\e\sitename.com-XXXnumbersXXX\user\htdocs\libraries\joomla\language\language.php on line 712
The errors keep popping up throughout portions of the admin side of things. Trying to add or edit any new articles results in a blank screen. Editing other modules results in the above foreach() errors. The foreach() functions are being passed filepaths, but I can't figure out their values (I'm not much of a PHP dev).
Why would the front end work without any problems and only the backend areas have an issue?
Any ideas of how I should go about troubleshooting this?
Many thanks in advance,
D
Whenever I have issues with a new Joomla install I check the following things:
Are file paths set correctly?
Are the file permissions correct?
Are the tmp and log folders writable?
Is the .htaccess file set correctly?
You can find the answers to the first three at the following location:
Joomla Admin Panel > Help > System Info
Hope that helps
I have just moved my CodeIgniter project to a new server and now I'm getting a 500 error and no output from the project. It works fine on my old server and in my test environment. I'm completely stumped how to troubleshoot this, especially as there's nothing of use in the log files. Any help would be great!
Well, this is embarrassing. I was missing php-mysql. CodeIgniter wasn't logging the fact that it couldn't find it, nothing was appearing in /var/log/messages. Installed it and suddenly, it works. Thanks all for your answers.
I get this problem on my live server with SuPHP. To avoid it, all PHP files must have permissions 0644, and directories 0755.
To do this without a headache, do one of the following:
Get an FTP client that will upload using permissions you specify
Find a PHP script that will change permissions, based on filtering criteria, after upload
Get shell access to your host!
Some ideas for you:
Are you sure there is nothing in the log files? Have you checked both the web server's log files as well as the system logs (EG: /var/log/messages)? Have you checked all of the logs enabled in php.ini?
Double-check your CI configuration settings. Perhaps you are pointing to the wrong database?
Have you confirmed that a basic PHP script <?phpinfo(); ?> works? This would isolate the problem to CI
Most likely you have not specified the base url for the new location, you can set it from file:
/system/config/config.php
at line:
$config['base_url'] = 'your new url here';
have you try load a new CodeIgniter project, and try to load in ur test environment? is it work?
From my experiment 500 error normally due with web server problem. But from what your said you didn't have any .htaccess. You better try just load a clean CI project and see your webserver OK or not.