Help: cant load index page, auto upgrading for no reason
|
farhaneee
Joined: 2009-08-04
Posts: 36 |
Posted: Fri, 2011-06-24 13:00
|
|
Hello, My url is www.farhan-tauheed.com I dont want to upgrade since I made some changes in the core "hacks" and dont want them to be overwritten. -Farhan Sorry I cant access my admin pages either to give more information |
|

Posts: 16503
I've seen that happen when g2data/version.dat either goes missing or permissions are set such that Gallery can't read it.
First check that it exists in your g2data directory.
____________________________________________
Like Gallery? Like the support? Donate now!
Posts: 36
thanks for the quick reply.
the version.dat is there and It had write and read permission.
I've changed it to full access but that didnt solve the problem
the site is still redirecting and not showing my original front page
Posts: 36
content of my version.dat is
1.3.0.1
2.3.1
Posts: 1556
Usually means something somewhere has changed if it was working well before.
Run a recursive chown on the gallery2 folder if you can.
Alternatively, take a backup of the folder and database and then go through the upgrade process ... just tell it to reuse the database and data.
I think I have done this before more than once in my time using G2 and my hacks came out of the other end intact. It basically realises everything is fine somewhere along the line. Make sure you back up though.
--
dakanji.com
Posts: 36
So yes im digging a bit more now.. seems like im screwed really bad.
upgrading seems like a scary option, but i guess ill have to do it as a last resort.
I ran debug mode and got the following messages, Can anyone understand whats the problem ?
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module/_all/0/0/GalleryFactoryHelper_loadRegistry.inc)
(mysqli): SET NAMES "utf8"
(mysqli): SELECT g2_Schema.g_info FROM g2_PluginMap, g2_Schema
WHERE g2_PluginMap.g_pluginId = g2_Schema.g_pluginId
AND g2_Schema.g_type = 'map' AND g2_PluginMap.g_active = 1
(mysqli): SELECT g_classType, g_className, g_implId, g_implPath, g_hints,
g_implModuleId, g_orderWeight FROM g2_FactoryMap ORDER BY g_orderWeight ASC
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module/_all/0/0)
getParameter permissions.directory for core plugin
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module/core/0/0/0.inc)
(mysqli):
SELECT
g2_PluginParameterMap.g_itemId,
g2_PluginParameterMap.g_parameterName,
g2_PluginParameterMap.g_parameterValue
FROM
g2_PluginParameterMap
WHERE
g2_PluginParameterMap.g_pluginType = 'module'
AND
g2_PluginParameterMap.g_pluginId = 'core'
AND
g2_PluginParameterMap.g_itemId = 0
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module/core/0/0)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module/core/0)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module/core)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data)
file_exists(/hermes/web01/b1585/moo.farhaneee)
file_exists(/hermes/web01/b1585)
is_dir(/hermes/web01/b1585)
getParameter permissions.file for core plugin
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module/core/0/0/0.inc)
(mysqli):
SELECT
g2_PluginParameterMap.g_itemId,
g2_PluginParameterMap.g_parameterName,
g2_PluginParameterMap.g_parameterValue
FROM
g2_PluginParameterMap
WHERE
g2_PluginParameterMap.g_pluginType = 'module'
AND
g2_PluginParameterMap.g_pluginId = 'core'
AND
g2_PluginParameterMap.g_itemId = 0
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module/core/0/0)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module/core/0)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module/core)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data)
file_exists(/hermes/web01/b1585/moo.farhaneee)
file_exists(/hermes/web01/b1585)
is_dir(/hermes/web01/b1585)
mkdir(/hermes/web01/b1585/moo.farhaneee, 755)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module/core/0/0)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module/core/0)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module/core)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data)
file_exists(/hermes/web01/b1585/moo.farhaneee)
file_exists(/hermes/web01/b1585)
is_dir(/hermes/web01/b1585)
mkdir(/hermes/web01/b1585/moo.farhaneee, 755)
atomicWrite(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module/core/0/0/0.inc):
parent directory could not be created
getParameter permissions.directory for core plugin
mkdir(/hermes/web01/b1585/moo.farhaneee, 755)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module/core/0/0)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module/core/0)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module/core)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data)
file_exists(/hermes/web01/b1585/moo.farhaneee)
file_exists(/hermes/web01/b1585)
is_dir(/hermes/web01/b1585)
mkdir(/hermes/web01/b1585/moo.farhaneee, 755)
atomicWrite(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module/core/0/0/0.inc):
parent directory could not be created
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module/_all/0/0)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module/_all/0)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module/_all)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data)
file_exists(/hermes/web01/b1585/moo.farhaneee)
file_exists(/hermes/web01/b1585)
is_dir(/hermes/web01/b1585)
mkdir(/hermes/web01/b1585/moo.farhaneee, 755)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module/_all/0/0)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module/_all/0)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module/_all)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data)
file_exists(/hermes/web01/b1585/moo.farhaneee)
file_exists(/hermes/web01/b1585)
is_dir(/hermes/web01/b1585)
mkdir(/hermes/web01/b1585/moo.farhaneee, 755)
atomicWrite(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module/_all/0/0/GalleryFactoryHelper_loadRegistry.inc):
parent directory could not be created
Unimplemented: GalleryUrlGenerator
getParameter language.useBrowserPref for core plugin
getParameter default.language for core plugin
controller , view
Loading plugin core
Class not defined, trying to include it.
file_exists(/hermes/web09c/b1585/moo.farhaneee/modules/core/module.inc)
core plugin successfully instantiated
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/versions.dat)
Redirect to the upgrade wizard, core module version is out of date
Posts: 7939
g2data needs to be writable recursively
chmod -R 0777 /hermes/web01/b1585/moo.farhaneee/g2data
FAQ: How can I fix the filesystem permissions of the Gallery storage folder?
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 36
So I tried doing recursive permission settings
and Now every file and folder inside g2data is with 777 permission.
However i still get "parent directory could not be created" .. i don't understand whats going on ..
can some one think of any other problem?
is there any way to clear cache data without going in the admin menu? (i cant even get to the admin menu)
the new debug trace is below
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module/_all/0/0/GalleryFactoryHelper_loadRegistry.inc)
(mysqli): SET NAMES "utf8"
(mysqli): SELECT g2_Schema.g_info FROM g2_PluginMap, g2_Schema
WHERE g2_PluginMap.g_pluginId = g2_Schema.g_pluginId
AND g2_Schema.g_type = 'map' AND g2_PluginMap.g_active = 1
(mysqli): SELECT g_classType, g_className, g_implId, g_implPath, g_hints,
g_implModuleId, g_orderWeight FROM g2_FactoryMap ORDER BY g_orderWeight ASC
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module/_all/0/0)
getParameter permissions.directory for core plugin
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module/core/0/0/0.inc)
(mysqli):
SELECT
g2_PluginParameterMap.g_itemId,
g2_PluginParameterMap.g_parameterName,
g2_PluginParameterMap.g_parameterValue
FROM
g2_PluginParameterMap
WHERE
g2_PluginParameterMap.g_pluginType = 'module'
AND
g2_PluginParameterMap.g_pluginId = 'core'
AND
g2_PluginParameterMap.g_itemId = 0
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module/core/0/0)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module/core/0)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module/core)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data)
file_exists(/hermes/web01/b1585/moo.farhaneee)
file_exists(/hermes/web01/b1585)
is_dir(/hermes/web01/b1585)
getParameter permissions.file for core plugin
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module/core/0/0/0.inc)
(mysqli):
SELECT
g2_PluginParameterMap.g_itemId,
g2_PluginParameterMap.g_parameterName,
g2_PluginParameterMap.g_parameterValue
FROM
g2_PluginParameterMap
WHERE
g2_PluginParameterMap.g_pluginType = 'module'
AND
g2_PluginParameterMap.g_pluginId = 'core'
AND
g2_PluginParameterMap.g_itemId = 0
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module/core/0/0)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module/core/0)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module/core)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data)
file_exists(/hermes/web01/b1585/moo.farhaneee)
file_exists(/hermes/web01/b1585)
is_dir(/hermes/web01/b1585)
mkdir(/hermes/web01/b1585/moo.farhaneee, 755)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module/core/0/0)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module/core/0)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module/core)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data)
file_exists(/hermes/web01/b1585/moo.farhaneee)
file_exists(/hermes/web01/b1585)
is_dir(/hermes/web01/b1585)
mkdir(/hermes/web01/b1585/moo.farhaneee, 755)
atomicWrite(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module/core/0/0/0.inc):
parent directory could not be created
getParameter permissions.directory for core plugin
mkdir(/hermes/web01/b1585/moo.farhaneee, 755)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module/core/0/0)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module/core/0)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module/core)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data)
file_exists(/hermes/web01/b1585/moo.farhaneee)
file_exists(/hermes/web01/b1585)
is_dir(/hermes/web01/b1585)
mkdir(/hermes/web01/b1585/moo.farhaneee, 755)
atomicWrite(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module/core/0/0/0.inc):
parent directory could not be created
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module/_all/0/0)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module/_all/0)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module/_all)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data)
file_exists(/hermes/web01/b1585/moo.farhaneee)
file_exists(/hermes/web01/b1585)
is_dir(/hermes/web01/b1585)
mkdir(/hermes/web01/b1585/moo.farhaneee, 755)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module/_all/0/0)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module/_all/0)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module/_all)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/cache)
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data)
file_exists(/hermes/web01/b1585/moo.farhaneee)
file_exists(/hermes/web01/b1585)
is_dir(/hermes/web01/b1585)
mkdir(/hermes/web01/b1585/moo.farhaneee, 755)
atomicWrite(/hermes/web01/b1585/moo.farhaneee/g2data/cache/module/_all/0/0/GalleryFactoryHelper_loadRegistry.inc):
parent directory could not be created
Unimplemented: GalleryUrlGenerator
getParameter language.useBrowserPref for core plugin
getParameter default.language for core plugin
controller , view
Loading plugin core
Class not defined, trying to include it.
file_exists(/hermes/web09c/b1585/moo.farhaneee/modules/core/module.inc)
core plugin successfully instantiated
file_exists(/hermes/web01/b1585/moo.farhaneee/g2data/versions.dat)
Redirect to the upgrade wizard, core module version is out of date
Posts: 7939
http://www.farhan-tauheed.com/lib/support/
seems you have other issues you need to solve first.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 1556
Instead of banging your head on the wall ...
Not sure what is so scary about that really. If it fails, you will have the backup.
--
dakanji.com
Posts: 36
yup going to try it now..!
anyways the url didnt work http://www.farhan-tauheed.com/lib/support/
I asked the webserver support and they told me the folder had wrong permission for some reason
however now the permission is fixed and its a blank page!
Posts: 1556
http://www.farhan-tauheed.com/ is now giving a 500 internal server error.
Have you looked at the actual server log? Most hosts provide access to logs for owned domains.
--
dakanji.com
Posts: 36
Dayo,
hmm for me
http://www.farhan-tauheed.com/lib/support/ is a blank page
and
http://www.farhan-tauheed.com/lib/support/ is the page showing the debug errors I posted above
-----------------------------------------------------
The web server guys are just not helping they say " the web application is responsible for the problem "
and that " there is a script in the application which is changing the permission of the files and folders"
which in my opinion does not seems like the case
-------------------------------------------------------
I'm trying to upgrade now
While upgrading I got the following message. even though every file and folder in g2data is 777
Storage Directory Permissions
Failed
- Inaccessible or missing files (1)
Error: Some files and or directories in your storage directory are not writeable by the webserver user. Run chown -R webserverUser /hermes/web01/b1585/moo.farhaneee/g2data/ OR run chmod -R 777 /hermes/web01/b1585/moo.farhaneee/g2data/. /hermes/web01/b1585/moo.farhaneee/g2data/
---------------------------------------------------------
I got hold of php error logs
0110624T082238: www.farhan-tauheed.com/upgrade/index.php
suexec policy violation: see suexec log for more details
20110624T082243: www.farhan-tauheed.com/upgrade/index.php
suexec policy violation: see suexec log for more details
20110625T081317: www.farhan-tauheed.com/index.php
PHP Warning: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: Permission denied in /hermes/web09c/b1585/moo.farhaneee/modules/core/classes/GalleryPlatform.class on line 582
PHP Warning: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: Permission denied in /hermes/web09c/b1585/moo.farhaneee/modules/core/classes/GalleryPlatform.class on line 582
PHP Warning: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: Permission denied in /hermes/web09c/b1585/moo.farhaneee/modules/core/classes/Galler
20110625T184415: www.farhan-tauheed.com/indexChanged.php
PHP Warning: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: Permission denied in /hermes/web09c/b1585/moo.farhaneee/modules/core/classes/GalleryPlatform.class on line 582
PHP Warning: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: Permission denied in /hermes/web09c/b1585/moo.farhaneee/modules/core/classes/GalleryPlatform.class on line 582
PHP Warning: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: Permission denied in /hermes/web09c/b1585/moo.farhaneee/modules/core/classes/Galler
20110625T185918: www.farhan-tauheed.com/indexChanged.php
PHP Warning: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: Permission denied in /hermes/web09c/b1585/moo.farhaneee/modules/core/classes/GalleryPlatform.class on line 582
PHP Warning: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: Permission denied in /hermes/web09c/b1585/moo.farhaneee/modules/core/classes/GalleryPlatform.class on line 582
PHP Warning: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: Permission denied in /hermes/web09c/b1585/moo.farhaneee/modules/core/classes/Galler
20110625T190047: www.farhan-tauheed.com/indexChanged.php
PHP Warning: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: Permission denied in /hermes/web09c/b1585/moo.farhaneee/modules/core/classes/GalleryPlatform.class on line 582
PHP Warning: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: Permission denied in /hermes/web09c/b1585/moo.farhaneee/modules/core/classes/GalleryPlatform.class on line 582
PHP Warning: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: Permission denied in /hermes/web09c/b1585/moo.farhaneee/modules/core/classes/Galler
20110625T200314: www.farhan-tauheed.com/indexChanged.php
PHP Warning: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: Permission denied in /hermes/web09c/b1585/moo.farhaneee/modules/core/classes/GalleryPlatform.class on line 582
PHP Warning: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: Permission denied in /hermes/web09c/b1585/moo.farhaneee/modules/core/classes/GalleryPlatform.class on line 582
PHP Warning: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: Permission denied in /hermes/web09c/b1585/moo.farhaneee/modules/core/classes/Galler
20110626T111119: www.farhan-tauheed.com/index.php
PHP Warning: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: Permission denied in /hermes/web09c/b1585/moo.farhaneee/modules/core/classes/GalleryPlatform.class on line 582
PHP Warning: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: Permission denied in /hermes/web09c/b1585/moo.farhaneee/modules/core/classes/GalleryPlatform.class on line 582
PHP Warning: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: Permission denied in /hermes/web09c/b1585/moo.farhaneee/modules/core/classes/Galler
20110626T111134: www.farhan-tauheed.com/index.php
PHP Warning: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: Permission denied in /hermes/web09c/b1585/moo.farhaneee/modules/core/classes/GalleryPlatform.class on line 582
PHP Warning: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: Permission denied in /hermes/web09c/b1585/moo.farhaneee/modules/core/classes/GalleryPlatform.class on line 582
PHP Warning: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: Permission denied in /hermes/web09c/b1585/moo.farhaneee/modules/core/classes/Galler
20110626T111135: www.farhan-tauheed.com/index.php
PHP Warning: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: Permission denied in /hermes/web09c/b1585/moo.farhaneee/modules/core/classes/GalleryPlatform.class on line 582
PHP Warning: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: Permission denied in /hermes/web09c/b1585/moo.farhaneee/modules/core/classes/GalleryPlatform.class on line 582
PHP Warning: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: Permission denied in /hermes/web09c/b1585/moo.farhaneee/modules/core/classes/Galler
20110626T111135: www.farhan-tauheed.com/index.php
PHP Warning: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: Permission denied in /hermes/web09c/b1585/moo.farhaneee/modules/core/classes/GalleryPlatform.class on line 582
PHP Warning: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: Permission denied in /hermes/web09c/b1585/moo.farhaneee/modules/core/classes/GalleryPlatform.class on line 582
PHP Warning: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: Permission denied in /hermes/web09c/b1585/moo.farhaneee/modules/core/classes/Galler
20110626T111136: www.farhan-tauheed.com/index.php
PHP Warning: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: Permission denied in /hermes/web09c/b1585/moo.farhaneee/modules/core/classes/GalleryPlatform.class on line 582
PHP Warning: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: Permission denied in /hermes/web09c/b1585/moo.farhaneee/modules/core/classes/GalleryPlatform.class on line 582
PHP Warning: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: Permission denied in /hermes/web09c/b1585/moo.farhaneee/modules/core/classes/Galler
20110626T111136: www.farhan-tauheed.com/index.php
PHP Warning: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: Permission denied in /hermes/web09c/b1585/moo.farhaneee/modules/core/classes/GalleryPlatform.class on line 582
PHP Warning: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: Permission denied in /hermes/web09c/b1585/moo.farhaneee/modules/core/classes/GalleryPlatform.class on line 582
PHP Warning: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: Permission denied in /hermes/web09c/b1585/moo.farhaneee/modules/core/classes/Galler
20110626T111137: www.farhan-tauheed.com/index.php
PHP Warning: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: Permission denied in /hermes/web09c/b1585/moo.farhaneee/modules/core/classes/GalleryPlatform.class on line 582
PHP Warning: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: Permission denied in /hermes/web09c/b1585/moo.farhaneee/modules/core/classes/GalleryPlatform.class on line 582
PHP Warning: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: Permission denied in /hermes/web09c/b1585/moo.farhaneee/modules/core/classes/Galler
20110626T112649: www.farhan-tauheed.com/lib/support/index.php
suexec policy violation: see suexec log for more details
20110626T112740: www.farhan-tauheed.com/lib/support/index.php
suexec policy violation: see suexec log for more details
20110626T113205: www.farhan-tauheed.com/index.php
PHP Warning: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: Permission denied in /hermes/web09c/b1585/moo.farhaneee/modules/core/classes/GalleryPlatform.class on line 582
PHP Warning: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: Permission denied in /hermes/web09c/b1585/moo.farhaneee/modules/core/classes/GalleryPlatform.class on line 582
PHP Warning: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: Permission denied in /hermes/web09c/b1585/moo.farhaneee/modules/core/classes/Galler
20110626T120235: www.farhan-tauheed.com/lib/support/index.php
suexec policy violation: see suexec log for more details
20110626T120253: www.farhan-tauheed.com/lib/support/index.php
suexec policy violation: see suexec log for more details
20110626T120523: www.farhan-tauheed.com/lib/support/index.php
suexec policy violation: see suexec log for more details
20110626T121207: www.farhan-tauheed.com/lib/support/index.php
suexec policy violation: see suexec log for more details
Posts: 7939
suexec does not allow any publicly accessible directory to be 777
is your g2data publicly accessible? or is it behind your public root?
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 36
im sorry my knowledge with web servers is limited. so didnt understand your question
my g2data reside in the folder /g2data
for me its the root
but for the server its
/hermes/web01/b1585/moo.farhaneee/g2data
I dont know if its publicly available
doing www.farhan-tauheed.com/g2data
shows a webpage with warning that i dont have an index file
however writing a complete url
http://www.farhan-tauheed.com/g2data/albums/Aletsch2010/DSC_2659.JPG
to one of images in the folder of g2data also shows the same warning file
should I change the permission to something else?
also should I proceed with the upgrade? I got this message
Storage Directory Permissions
Failed
- Inaccessible or missing files (1)
Error: Some files and or directories in your storage directory are not writeable by the webserver user. Run chown -R webserverUser /hermes/web01/b1585/moo.farhaneee/g2data/ OR run chmod -R 777 /hermes/web01/b1585/moo.farhaneee/g2data/. /hermes/web01/b1585/moo.farhaneee/g2data/
Posts: 7939
try changing directories to 755
find . -type d -print0 | xargs -0 chmod 0755
in your g2data directory.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 36
I use a visual filezilla ftp client I dont think i can run this command on it.
can i just do a recursive chmod to 0755?
Posts: 1556
That will do that same thing ... maybe slower.
Actually, before you go too far, why not just roll back to Thursday's or last week's backup??
--
dakanji.com
Posts: 36
Yes I checked it .. I dont have backup service of files just the database. for files apparently i needed to pay extra.. I hate these morons!
gona switch over from fatcow!! hate them.
so now i've changed all folders to 0755 and files to 777 in g2data
still the site upgrade fails, and im stuck
even with all files and folders to 0755 it fails
im screwed.. i cant see my webpage.. cant upgrade .. cant restore
its horrible.. and i just cant even think what went wrong/
last activity i did was to make a new album and added items through local server transfere.
it worked fine at that time. next day it just wont do any thing.. kept redirecting to upgrade, and giving this cannot create folder error in debug messages
i didnt touch the code for 6 months.
Posts: 1556
As long as they told you this from the beginning, I don't see this as their fault.
Try to manually delete everything in your "g2data/cache/" folder apart from "g2data/cache/derivative" and then run the upgrade again.
Or better, move them out of the g2data folder so you can put them back if required..
--
dakanji.com
Posts: 36
anyways i tried moving all the files and folders inside the g2data/cache except derivates
surprisingly nothing changes: I've tried clearing the cache and make sure the files are not ther
for upgrade the error
for the debug messages on my website: they are the same as posted above
interestingly how can they find files I have moved?? file_exists(), snippet given below
Posts: 1556
Shows that you still have a permission issue.
Ask your host for help. What you need to ask for is simple ... G2data folder and ALL subfolders and files should be made read/writable by the webserver user.
--
dakanji.com
Posts: 36
FINALLY its fixed..
and yes it happened because of my stupidity
Actually in my config.php
I put the absolute path of g2data folder, cause /g2data/ didnt work
$gallery->setConfig('data.gallery.base', '/hermes/web01/b1585/moo.farhaneee/g2data/');
but 3 days back my webserver people decided to change the document root to
/home/users/web/b1585/moo.farhaneee
and hence my app could not find G2Data
is there a way to put a relative path so it doesn't happen again? something like /documentRoot/g2data
anyways, thanks all for the help. well in the end I got to learn a lot
www.farhan-tauheed.com is up and running
Posts: 1556
Nice to know it is back up and running.
Main lesson to learn is that whenever the application "suddenly" stops working, it is because someone has suddenly changed something.
--
dakanji.com