We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Gets a 500 error when clicking the link for hot or not - Hot Or Not | Forum

Brien
Brien Jan 22 '13
no clue y - it does install properly though
Zaph
Zaph Jan 26 '13
Could you please describe the actions you performed, to reproduce this error, because I also have 1.5 on my demo site and it works fine
Brien
Brien Jan 26 '13
when I load it it just produces a 500 error .....
Brien
Brien Jan 26 '13
here are screenshots
Attachments:
  hot.jpg (57.66Kb)
  hotn.jpg (160.04Kb)
Brien
Brien Jan 26 '13
it installs fine link shows up on site and when you click it it goes to the internal error page
Zaph
Zaph Jan 27 '13
Could you please enable debug mode in the config file to be able to view the error message?
Brien
Brien Jan 27 '13
im soz I dont know how to do this .....
Brien
Brien Jan 27 '13
ok updated debug mode

Brien
Brien Jan 27 '13
Message: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'realsens_oxw1.ow_base_rate' doesn't exist File: /home4/realsens/public_html/social/ow_core/database.php Line: 331 Trace: #0 /home4/realsens/public_html/social/ow_core/database.php(331): PDOStatement->execute() #1 /home4/realsens/public_html/social/ow_core/database.php(359): OW_Database->execute('SELECT * FROM `...', NULL) #2 /home4/realsens/public_html/social/ow_plugins/hotphoto/bol/hotphoto_service.php(90): OW_Database->queryForColumn('SELECT * FROM `...') #3 /home4/realsens/public_html/social/ow_plugins/hotphoto/components/random_photo.php(82): HOTPHOTO_BOL_HotphotoService->getNotRatedPhotoByUserId(1, 0) #4 /home4/realsens/public_html/social/ow_plugins/hotphoto/controllers/rate.php(69): HOTPHOTO_CMP_RandomPhoto->__construct(Array) #5 [internal function]: HOTPHOTO_CTRL_Rate->index(Array) #6 /home4/realsens/public_html/social/ow_core/request_handler.php(266): ReflectionMethod->invokeArgs(Object(HOTPHOTO_CTRL_Rate), Array) #7 /home4/realsens/public_html/social/ow_core/application.php(317): OW_RequestHandler->dispatch() #8 /home4/realsens/public_html/social/index.php(72): OW_Application->handleRequest() #9 {main} Type: PDOException
Brien
Brien Jan 27 '13
thats the error

Zaph
Zaph Jan 27 '13
Please check the structure of your database. 


There is no base table "ow_base_rate", create it with sql query via phpmyadmin


CREATE TABLE IF NOT EXISTS `ow_base_rate` (  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,  `entityType` varchar(255) NOT NULL,  `entityId` int(10) unsigned NOT NULL,  `userId` int(10) unsigned NOT NULL,  `score` int(10) unsigned NOT NULL,  `timeStamp` int(10) unsigned NOT NULL,  `active` tinyint(4) NOT NULL DEFAULT '1',  PRIMARY KEY (`id`),  KEY `entityType` (`entityType`),  KEY `entityId` (`entityId`),  KEY `userId` (`userId`)) ENGINE=MyISAM  DEFAULT CHARSET=utf8;


Or this table is corrupted, you should repair it

The Forum post is edited by Zaph Jan 27 '13
Brien
Brien Jan 27 '13
ok is it set up to only show your friends pictures ?


Brien
Brien Jan 27 '13
if so is ther any way to show all members ....
Brien
Brien Jan 27 '13
oh wait I think I know what it is it uses the uploaded photos to rate right ?

not user profile pictures

Brien
Brien Jan 27 '13
or am I incorrect
Zaph
Zaph Jan 28 '13
Yes it uses Photos plugins and shows uploaded by users photos not avatars.


Did you create or repair the table?

Brien
Brien Jan 28 '13
yeah it seems to be working but my picture is the o0nly one in the uploads so ...
Brien
Brien Jan 29 '13
Is it possible to work on a plugin that rates users instead of the uploaded photos?
Zaph
Zaph Jan 29 '13
Please take a look at this plugin


http://www.oxwall.org/store/item/111


But there is no option to view users in a slide show mode

The Forum post is edited by Zaph Jan 29 '13
Gintautas
Gintautas Feb 26 '13

Hi,

 

How I can enable debug mode in the config file to be able to view the error message?

 

Where are this config file?

 

Gintautas

Attachments:
  Image_1.jpg (323.63Kb)
  Image_2.jpg (121.45Kb)
Pages: 1 2 »
You do not have permission to reply this topic